diff --git a/src/portal/src/app/account/sign-in/sign-in.component.ts b/src/portal/src/app/account/sign-in/sign-in.component.ts index f82f04b69..12b6535a6 100644 --- a/src/portal/src/app/account/sign-in/sign-in.component.ts +++ b/src/portal/src/app/account/sign-in/sign-in.component.ts @@ -118,13 +118,6 @@ export class SignInComponent implements AfterViewChecked, OnInit { // App title public get appTitle(): string { - if ( - this.appConfigService.getConfig() && - this.appConfigService.getConfig().with_admiral - ) { - return 'APP_TITLE.VIC'; - } - return 'APP_TITLE.VMW_HARBOR'; } diff --git a/src/portal/src/app/app.component.ts b/src/portal/src/app/app.component.ts index 7a0786e6f..309f9e7e5 100644 --- a/src/portal/src/app/app.component.ts +++ b/src/portal/src/app/app.component.ts @@ -50,10 +50,6 @@ export class AppComponent { this.initLanguage(); // Override page title let key: string = 'APP_TITLE.HARBOR'; - if (this.appConfigService.isIntegrationMode()) { - key = 'APP_TITLE.REG'; - } - translate.get(key).subscribe((res: string) => { const customSkinData: CustomStyle = this.skinableConfig.getSkinConfig(); diff --git a/src/portal/src/app/base/base.module.ts b/src/portal/src/app/base/base.module.ts index e4a68b866..6beb77fe6 100644 --- a/src/portal/src/app/base/base.module.ts +++ b/src/portal/src/app/base/base.module.ts @@ -161,17 +161,6 @@ const routes: Routes = [ projectResolver: ProjectRoutingResolver, }, }, - { - path: 'projects/:id/helm-charts', - canActivate: [MemberGuard], - resolve: { - projectResolver: ProjectRoutingResolver, - }, - loadChildren: () => - import( - './project/helm-chart/helm-chart-detail/helm-chart-detail.module' - ).then(m => m.HelmChartListModule), - }, ], }, ]; diff --git a/src/portal/src/app/base/harbor-shell/harbor-shell.component.html b/src/portal/src/app/base/harbor-shell/harbor-shell.component.html index 0d0b529f7..af6d8f0bb 100644 --- a/src/portal/src/app/base/harbor-shell/harbor-shell.component.html +++ b/src/portal/src/app/base/harbor-shell/harbor-shell.component.html @@ -129,7 +129,6 @@ {{ 'SIDE_NAV.DISTRIBUTIONS.NAME' | translate }} diff --git a/src/portal/src/app/base/harbor-shell/harbor-shell.component.ts b/src/portal/src/app/base/harbor-shell/harbor-shell.component.ts index 81b82d347..8fedc8312 100644 --- a/src/portal/src/app/base/harbor-shell/harbor-shell.component.ts +++ b/src/portal/src/app/base/harbor-shell/harbor-shell.component.ts @@ -242,9 +242,6 @@ export class HarborShellComponent implements OnInit, OnDestroy { this.session.getCurrentUser().has_admin_role ); } - public get withAdmiral(): boolean { - return this.appConfigService.getConfig().with_admiral; - } // Open modal dialog openModal(event: ModalEvent): void { switch (event.modalName) { diff --git a/src/portal/src/app/base/left-side-nav/config/config.component.html b/src/portal/src/app/base/left-side-nav/config/config.component.html index dfef42c9e..b25eb825b 100644 --- a/src/portal/src/app/base/left-side-nav/config/config.component.html +++ b/src/portal/src/app/base/left-side-nav/config/config.component.html @@ -24,7 +24,7 @@ type="button" routerLink="security" routerLinkActive="active"> - {{ 'HELM_CHART.SECURITY' | translate }} + {{ 'CONFIG.SECURITY' | translate }}