From 6416aa402549bfefa2ef3454eaa316065f00a6d2 Mon Sep 17 00:00:00 2001 From: Yogi_Wang Date: Tue, 19 Nov 2019 16:36:14 +0800 Subject: [PATCH] Fix version info in about dialog can not select and copy fix 9854 Signed-off-by: Yogi_Wang --- src/portal/src/app/harbor-routing.module.ts | 5 ----- .../src/app/shared/about-dialog/about-dialog.component.html | 2 +- .../src/app/shared/about-dialog/about-dialog.component.scss | 1 + 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/portal/src/app/harbor-routing.module.ts b/src/portal/src/app/harbor-routing.module.ts index 476bbe777..8cd10958b 100644 --- a/src/portal/src/app/harbor-routing.module.ts +++ b/src/portal/src/app/harbor-routing.module.ts @@ -351,11 +351,6 @@ const harborRoutes: Routes = [ component: ConfigurationComponent, canActivate: [SystemAdminGuard] }, - { - path: 'vulnerability', - component: VulnerabilityPageComponent, - canActivate: [SystemAdminGuard] - }, { path: 'gc', component: GcPageComponent, diff --git a/src/portal/src/app/shared/about-dialog/about-dialog.component.html b/src/portal/src/app/shared/about-dialog/about-dialog.component.html index ae3f1d9c8..05ab91362 100644 --- a/src/portal/src/app/shared/about-dialog/about-dialog.component.html +++ b/src/portal/src/app/shared/about-dialog/about-dialog.component.html @@ -3,7 +3,7 @@
-
+
{{customName?.name? customName?.name : ('APP_TITLE.HARBOR' | translate)}}
{{'ABOUT.VERSION' | translate}} {{version}} diff --git a/src/portal/src/app/shared/about-dialog/about-dialog.component.scss b/src/portal/src/app/shared/about-dialog/about-dialog.component.scss index 9a110e9f9..faf35bedb 100644 --- a/src/portal/src/app/shared/about-dialog/about-dialog.component.scss +++ b/src/portal/src/app/shared/about-dialog/about-dialog.component.scss @@ -15,6 +15,7 @@ .content { margin:0 10px 10px 10px; + outline: none; } .harbor-icon {