From 7c0c468d0a0a0980fbbdb4f2058bd314280db739 Mon Sep 17 00:00:00 2001 From: Arthur Bullet Date: Tue, 26 Nov 2024 14:07:52 +0100 Subject: [PATCH 1/2] fix(pci.ai.endpoints): change ff pci menu management for CAd Signed-off-by: Arthur Bullet --- .../legacy/server-sidebar/universe/public-cloud/pci-menu.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/manager/apps/container/src/container/legacy/server-sidebar/universe/public-cloud/pci-menu.ts b/packages/manager/apps/container/src/container/legacy/server-sidebar/universe/public-cloud/pci-menu.ts index 7cd02ace3b07..0c459137dce1 100644 --- a/packages/manager/apps/container/src/container/legacy/server-sidebar/universe/public-cloud/pci-menu.ts +++ b/packages/manager/apps/container/src/container/legacy/server-sidebar/universe/public-cloud/pci-menu.ts @@ -384,12 +384,13 @@ export function getPciProjectMenu( title: 'AI Deploy', href: getURL('public-cloud', `#/pci/projects/${projectId}/ai/apps`), }, - isFeaturesAvailable('pci-ai-endpoints') ? { + isFeaturesAvailable('pci-ai-endpoints') && { id: 'pci-ai-endpoints', title: 'AI Endpoints', badge: 'beta', href: getURL('public-cloud', `#/pci/projects/${projectId}/ai/endpoints`), - } : { + }, + isFeaturesAvailable('ai-endpoints') && { id: 'ai-endpoints', title: 'AI Endpoints', badge: 'beta', From 1a8c4648331d8da5485ac2242fe25900d0971d19 Mon Sep 17 00:00:00 2001 From: Arthur Bullet Date: Tue, 26 Nov 2024 14:18:25 +0100 Subject: [PATCH 2/2] fix(pci.ai.endpoints): add forgotten pci-ai-endpooints Signed-off-by: Arthur Bullet --- .../legacy/server-sidebar/universe/public-cloud/pci-menu.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/manager/apps/container/src/container/legacy/server-sidebar/universe/public-cloud/pci-menu.ts b/packages/manager/apps/container/src/container/legacy/server-sidebar/universe/public-cloud/pci-menu.ts index 0c459137dce1..af686dfc33eb 100644 --- a/packages/manager/apps/container/src/container/legacy/server-sidebar/universe/public-cloud/pci-menu.ts +++ b/packages/manager/apps/container/src/container/legacy/server-sidebar/universe/public-cloud/pci-menu.ts @@ -355,6 +355,7 @@ export function getPciProjectMenu( 'training', 'ai-apps', 'ai-endpoints', + 'pci-ai-endpoints' ) ) { pciMenu.push({