diff --git a/frontend/src/component/feature/FeatureToggleList/FeatureToggleFilters/FeatureToggleFilters.tsx b/frontend/src/component/feature/FeatureToggleList/FeatureToggleFilters/FeatureToggleFilters.tsx index 9b1c4731cb..833722b782 100644 --- a/frontend/src/component/feature/FeatureToggleList/FeatureToggleFilters/FeatureToggleFilters.tsx +++ b/frontend/src/component/feature/FeatureToggleList/FeatureToggleFilters/FeatureToggleFilters.tsx @@ -104,6 +104,20 @@ export const FeatureToggleFilters: VFC = ({ filterKey: 'createdAt', dateOperators: ['IS_ON_OR_AFTER', 'IS_BEFORE'], }, + { + label: 'Flag type', + icon: 'flag', + options: [ + { label: 'Release', value: 'release' }, + { label: 'Experiment', value: 'experiment' }, + { label: 'Operational', value: 'operational' }, + { label: 'Kill switch', value: 'kill-switch' }, + { label: 'Permission', value: 'permission' }, + ], + filterKey: 'type', + singularOperators: ['IS', 'IS_NOT'], + pluralOperators: ['IS_ANY_OF', 'IS_NONE_OF'], + }, ]; setAvailableFilters(availableFilters); diff --git a/frontend/src/component/feature/FeatureToggleList/FeatureToggleListTable.tsx b/frontend/src/component/feature/FeatureToggleList/FeatureToggleListTable.tsx index 34525ae5e5..41b856daea 100644 --- a/frontend/src/component/feature/FeatureToggleList/FeatureToggleListTable.tsx +++ b/frontend/src/component/feature/FeatureToggleList/FeatureToggleListTable.tsx @@ -106,6 +106,7 @@ export const FeatureToggleListTable: VFC = () => { state: FilterItemParam, segment: FilterItemParam, createdAt: FilterItemParam, + type: FilterItemParam, }; const [tableState, setTableState] = usePersistentTableState( 'features-list-table',