From 54502c70e276e2e73150e6b73f831383e5a55d8e Mon Sep 17 00:00:00 2001 From: Thibault Barske Date: Wed, 25 Sep 2024 17:00:55 +0200 Subject: [PATCH] feat(hycu): add HYCU on sidebar v2 ref: MANAGER-14716 Signed-off-by: Thibault Barske --- .../services/hostedPrivateCloud.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/packages/manager/apps/container/src/container/nav-reshuffle/sidebar/navigation-tree/services/hostedPrivateCloud.ts b/packages/manager/apps/container/src/container/nav-reshuffle/sidebar/navigation-tree/services/hostedPrivateCloud.ts index aaa94a5853bd..3fd592f5d26c 100644 --- a/packages/manager/apps/container/src/container/nav-reshuffle/sidebar/navigation-tree/services/hostedPrivateCloud.ts +++ b/packages/manager/apps/container/src/container/nav-reshuffle/sidebar/navigation-tree/services/hostedPrivateCloud.ts @@ -1,5 +1,5 @@ import illustration from '@/assets/images/sidebar/hosted-private-cloud.png'; -import { Node } from '../node'; +import { Node, NodeTag } from '../node'; import OvhProductName from '@ovh-ux/ovh-product-icons/utils/OvhProductNameEnum'; const hostedPrivateCloudUniverse: Node = { @@ -89,6 +89,19 @@ hostedPrivateCloudUniverse.children = [ }, features: ['veeam-cloud-connect'], }, + { + id: 'hycu', + idAttr: 'hycu-link', + universe: hostedPrivateCloudUniverse.id, + translation: 'sidebar_hycu', + serviceType: 'HYCU', + tag: NodeTag.NEW, + routing: { + application: 'dedicated', + hash: '#/hycu', + }, + features: ['hycu'], + }, ], }, ];