Skip to content

Commit 4c20715

Browse files
Imane El Aiboudstif59100
authored andcommitted
feat(web-hosting): redirect video center sidebar entry to beta manager
Ref: #PUWEBPT-342 Signed-off-by: Imane El Aiboud <imane.el-aiboud@corp.ovh.com>
1 parent 74e22b7 commit 4c20715

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

  • packages/manager/apps/container/src/container

packages/manager/apps/container/src/container/legacy/server-sidebar/universe/WebSidebar.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,7 @@ export default function WebSidebar() {
276276
label: t('sidebar_web_hosting_video_center'),
277277
icon: getIcon('ovh-font ovh-font-play'),
278278
badge: t('sidebar_tag_beta'),
279-
routeMatcher: new RegExp('^/video-center'),
280-
href: navigation.getURL('web-hosting', '#/video-center'),
279+
href: '/beta/#/web-cloud/video-center',
281280
});
282281
}
283282
if (features.zimbra) {

packages/manager/apps/container/src/container/nav-reshuffle/sidebar/navigation-tree/services/webCloud.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,7 @@ webCloudUniverse.children = [
169169
translation: 'sidebar_web_hosting_video_center',
170170
serviceType: 'WEB_HOSTING',
171171
tag: NodeTag.BETA,
172-
routing: {
173-
application: 'web-hosting',
174-
hash: '#/video-center',
175-
},
172+
url: '/beta/#/web-cloud/video-center',
176173
features: ['web-hosting:video-center'],
177174
},
178175
],

0 commit comments

Comments
 (0)