Remove isServerlessFunctionSettingsEnabled feature flag (#9797)

Removes `isFunctionSettingsEnabled` feature flag
We consider this featureFlag as false for everyone. We decided to keep
the code in the code base for now
This commit is contained in:
martmull
2025-01-22 22:39:52 +01:00
committed by GitHub
parent e881616822
commit 3ab193f298
8 changed files with 14 additions and 23 deletions

View File

@ -261,13 +261,13 @@ const SettingsLab = lazy(() =>
type SettingsRoutesProps = {
isBillingEnabled?: boolean;
isServerlessFunctionSettingsEnabled?: boolean;
isFunctionSettingsEnabled?: boolean;
isAdminPageEnabled?: boolean;
};
export const SettingsRoutes = ({
isBillingEnabled,
isServerlessFunctionSettingsEnabled,
isFunctionSettingsEnabled,
isAdminPageEnabled,
}: SettingsRoutesProps) => (
<Suspense fallback={<SettingsSkeletonLoader />}>
@ -305,7 +305,6 @@ export const SettingsRoutes = ({
/>
<Route path={SettingsPath.NewObject} element={<SettingsNewObject />} />
<Route path={SettingsPath.Developers} element={<SettingsDevelopers />} />
<Route
path={SettingsPath.DevelopersNewApiKey}
element={<SettingsDevelopersApiKeysNew />}
@ -322,7 +321,7 @@ export const SettingsRoutes = ({
path={SettingsPath.DevelopersNewWebhookDetail}
element={<SettingsDevelopersWebhooksDetail />}
/>
{isServerlessFunctionSettingsEnabled && (
{isFunctionSettingsEnabled && (
<>
<Route
path={SettingsPath.ServerlessFunctions}