diff --git a/frontend/src/component/feature/FeatureToggleList/FeatureToggleList.jsx b/frontend/src/component/feature/FeatureToggleList/FeatureToggleList.jsx index a356fe3015..fad1e7b31d 100644 --- a/frontend/src/component/feature/FeatureToggleList/FeatureToggleList.jsx +++ b/frontend/src/component/feature/FeatureToggleList/FeatureToggleList.jsx @@ -96,11 +96,13 @@ const FeatureToggleList = ({ ); }; - const headerTitle = filter.query - ? 'Search results' - : archive - ? 'Archived Features' - : 'Features'; + const searchResultsHeader = filter.query + ? `(${features.length} matches)` + : ''; + + const headerTitle = archive + ? `Archived Features ${searchResultsHeader}` + : `Features ${searchResultsHeader}`; return (
diff --git a/frontend/src/component/feature/FeatureToggleList/__tests__/__snapshots__/list-component-test.jsx.snap b/frontend/src/component/feature/FeatureToggleList/__tests__/__snapshots__/list-component-test.jsx.snap index 54e3ff7713..3b925f0413 100644 --- a/frontend/src/component/feature/FeatureToggleList/__tests__/__snapshots__/list-component-test.jsx.snap +++ b/frontend/src/component/feature/FeatureToggleList/__tests__/__snapshots__/list-component-test.jsx.snap @@ -69,7 +69,7 @@ exports[`renders correctly with one feature 1`] = `

- Features + Features

- Features + Features