diff --git a/frontend/src/concepts/areas/const.ts b/frontend/src/concepts/areas/const.ts index 5d8922cb14..499668efe7 100644 --- a/frontend/src/concepts/areas/const.ts +++ b/frontend/src/concepts/areas/const.ts @@ -10,11 +10,6 @@ export const SupportedAreasStateMap: SupportedAreasState = { [SupportedArea.CLUSTER_SETTINGS]: { featureFlags: ['disableClusterManager'], }, - [SupportedArea.MODEL_REGISTRY_SETTINGS]: { - featureFlags: ['disableModelRegistry'], - requiredComponents: [StackComponent.MODEL_REGISTRY], - requiredCapabilities: [StackCapability.SERVICE_MESH, StackCapability.SERVICE_MESH_AUTHZ], - }, [SupportedArea.CUSTOM_RUNTIMES]: { featureFlags: ['disableCustomServingRuntimes'], reliantAreas: [SupportedArea.MODEL_SERVING], @@ -82,5 +77,6 @@ export const SupportedAreasStateMap: SupportedAreasState = { [SupportedArea.MODEL_REGISTRY]: { featureFlags: ['disableModelRegistry'], requiredComponents: [StackComponent.MODEL_REGISTRY], + requiredCapabilities: [StackCapability.SERVICE_MESH, StackCapability.SERVICE_MESH_AUTHZ], }, }; diff --git a/frontend/src/concepts/areas/types.ts b/frontend/src/concepts/areas/types.ts index 64254390f4..bbfad94248 100644 --- a/frontend/src/concepts/areas/types.ts +++ b/frontend/src/concepts/areas/types.ts @@ -34,7 +34,6 @@ export enum SupportedArea { /* Admin areas */ BYON = 'bring-your-own-notebook', CLUSTER_SETTINGS = 'cluster-settings', - MODEL_REGISTRY_SETTINGS = 'model-registry-settings', USER_MANAGEMENT = 'user-management', ACCELERATOR_PROFILES = 'accelerator-profiles', diff --git a/frontend/src/utilities/NavData.tsx b/frontend/src/utilities/NavData.tsx index e318608f18..f8926a7072 100644 --- a/frontend/src/utilities/NavData.tsx +++ b/frontend/src/utilities/NavData.tsx @@ -151,7 +151,7 @@ const useCustomRuntimesNav = (): NavDataHref[] => ]); const useModelRegisterySettingsNav = (): NavDataHref[] => - useAreaCheck(SupportedArea.MODEL_REGISTRY_SETTINGS, [ + useAreaCheck(SupportedArea.MODEL_REGISTRY, [ { id: 'settings-model-registry', label: 'Model registry settings',