diff --git a/frontend/src/component/project/Project/ProjectFeatureToggles/PaginatedProjectFeatureToggles.tsx b/frontend/src/component/project/Project/ProjectFeatureToggles/PaginatedProjectFeatureToggles.tsx index 9607d0b3a8..30ddac286a 100644 --- a/frontend/src/component/project/Project/ProjectFeatureToggles/PaginatedProjectFeatureToggles.tsx +++ b/frontend/src/component/project/Project/ProjectFeatureToggles/PaginatedProjectFeatureToggles.tsx @@ -646,28 +646,31 @@ export const PaginatedProjectFeatureToggles = ({ /> - 0} - show={ - - No feature toggles found matching - “ - {searchValue} - ” - - } - elseShow={ - - No feature toggles available. Get - started by adding a new feature toggle. - - } - /> - } - /> + + 0} + show={ + + No feature toggles found matching + “ + {searchValue} + ” + + } + elseShow={ + + No feature toggles available. Get + started by adding a new feature + toggle. + + } + /> + } + /> + - setShowTitle(false)} - onBlur={() => setShowTitle(true)} - hasFilters - getSearchContext={getSearchContext} - id='projectFeatureToggles' - /> - } - /> - - - - - setShowExportDialog(true) - } - sx={(theme) => ({ - marginRight: - theme.spacing(2), - })} - > - - - - } - /> - - navigate(getCreateTogglePath(projectId)) - } - maxWidth='960px' - Icon={Add} - projectId={projectId} - permission={CREATE_FEATURE} - data-testid='NAVIGATE_TO_CREATE_FEATURE' - > - New feature toggle - - - } + ({ + padding: `${theme.spacing(2.5)} ${theme.spacing( + 3.125, + )}`, + })} > - + - + actions={ + <> + + setShowTitle(false) + } + onBlur={() => + setShowTitle(true) + } + hasFilters + getSearchContext={ + getSearchContext + } + id='projectFeatureToggles' + /> + } + /> + + + + + setShowExportDialog( + true, + ) + } + sx={(theme) => ({ + marginRight: + theme.spacing(2), + })} + > + + + + } + /> + + navigate( + getCreateTogglePath(projectId), + ) + } + maxWidth='960px' + Icon={Add} + projectId={projectId} + permission={CREATE_FEATURE} + data-testid='NAVIGATE_TO_CREATE_FEATURE' + > + New feature toggle + + + } + > + + } + /> + + } > @@ -598,17 +631,22 @@ export const ProjectFeatureToggles = ({ 0} show={ - - No feature toggles found matching “ - {searchValue} - ” - + + + No feature toggles found matching + “ + {searchValue} + ” + + } elseShow={ - - No feature toggles available. Get started by - adding a new feature toggle. - + + + No feature toggles available. Get + started by adding a new feature toggle. + + } /> } diff --git a/src/server-dev.ts b/src/server-dev.ts index 44b8ff84a9..5755f862a3 100644 --- a/src/server-dev.ts +++ b/src/server-dev.ts @@ -47,7 +47,7 @@ process.nextTick(async () => { disableEnvsOnRevive: true, playgroundImprovements: true, featureSearchAPI: true, - featureSearchFrontend: true, + featureSearchFrontend: false, }, }, authentication: {