Sha256: 09e3522fb52ef76972d61c11c8c0ea72e65afe3487e061c2fc74fbda3be67cde

Contents?: true

Size: 222 Bytes

Versions: 70

Compression:

Stored size: 222 Bytes

Contents

// eslint-disable-next-line import/prefer-default-export
export const getActiveItems = items =>
  items
    .filter(({ disabled, type }) => !disabled && !['header', 'divider'].includes(type))
    .map(({ text }) => text);

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
katello-3.9.0.rc1 webpack/move_to_pf/TypeAhead/helpers.js
katello-3.7.1.1 webpack/move_to_pf/TypeAhead/helpers.js
katello-3.7.1 webpack/move_to_pf/TypeAhead/helpers.js
katello-3.8.0 webpack/move_to_pf/TypeAhead/helpers.js
katello-3.8.0.rc3 webpack/move_to_pf/TypeAhead/helpers.js
katello-3.8.0.rc2 webpack/move_to_pf/TypeAhead/helpers.js
katello-3.7.0 webpack/move_to_pf/TypeAhead/helpers.js
katello-3.8.0.rc1 webpack/move_to_pf/TypeAhead/helpers.js
katello-3.7.0.rc2 webpack/move_to_pf/TypeAhead/helpers.js
katello-3.7.0.rc1 webpack/move_to_pf/TypeAhead/helpers.js