Skip to content

Commit

Permalink
feat(container): remove web-paas entries for EOS
Browse files Browse the repository at this point in the history
ref: MANAGER-16572

Signed-off-by: Tristan WAGNER <[email protected]>
  • Loading branch information
tristanwagner committed Jan 13, 2025
1 parent 966a208 commit a0d3413
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export const webFeatures = [
'office-reseller',
'sharepoint',
'web:microsoft',
'web-paas',
'cloud-web',
'cloud-database',
'zimbra'
Expand Down Expand Up @@ -294,33 +293,6 @@ export default function WebSidebar() {
}
}

if (features['web-paas']) {
menu.push({
id: 'web-paas',
label: t('sidebar_web_paas'),
icon: getIcon('oui-icon oui-icon-partner-platformsh_concept'),
routeMatcher: new RegExp(`^(/configuration)?/(paas/webpaas)`),
async loader() {
const subscription = await loadServices('/webPaaS/subscription');
return [
{
id: 'web_paas_all_accounts',
label: t('sidebar_project_all'),
href: navigation.getURL('web', '#/paas/webpaas/projects'),
},
...subscription.map((service) => ({
...service,
icon: getIcon('oui-icon oui-icon-partner-platformsh_concept'),
href: navigation.getURL(
'web',
`#/paas/webpaas/projects/${service.serviceName}/service`,
),
})),
];
},
});
}

return menu;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,27 +96,6 @@ webCloudUniverse.children = [
},
],
},
{
id: 'web-paas',
idAttr: 'web-paas-link',
universe: webCloudUniverse.id,
translation: 'sidebar_web_paas',
children: [
{
id: 'platform-sh',
idAttr: 'platform-sh-link',
universe: webCloudUniverse.id,
translation: 'sidebar_platform_sh',
serviceType: 'WEBPAAS_SUBSCRIPTION',
routing: {
application: 'web',
hash: '#/paas/webpaas/projects',
},
features: ['web-paas'],
},
],
features: ['web-paas'],
},
{
id: 'emails',
idAttr: 'emails-link',
Expand Down

0 comments on commit a0d3413

Please sign in to comment.