This is an automated email from the ASF dual-hosted git repository.

hshpak pushed a commit to branch epm-connected-platform
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 23f5aa31b3586e3d8718c4817f4f36c201c7789e
Author: Hennadii_Shpak <borch...@gmail.com>
AuthorDate: Thu Oct 20 12:46:24 2022 +0300

    fixed routing
---
 .../webapp/src/app/shared/navbar/navbar.component.html       | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.html
 
b/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.html
index 9ff4b3754..606397f98 100644
--- 
a/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.html
+++ 
b/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.html
@@ -136,7 +136,7 @@
             <a
               *ngIf="healthStatus?.auditEnabled"
               class="sub-nav-item"
-              [routerLink]="['/audit']"
+              [routerLink]="[routerList.audit]"
               [style.margin-left.px]="isExpanded ? '30' : '0'"
               [routerLinkActive]="['active']"
               [routerLinkActiveOptions]="{exact:true}"
@@ -147,7 +147,7 @@
             <a
               *ngIf="healthStatus?.billingEnabled"
               class="sub-nav-item"
-              [routerLink]="['/billing_report']"
+              [routerLink]="[routerList.billing]"
               [routerLinkActive]="['active']"
               [routerLinkActiveOptions]="{exact:true}"
               [style.margin-left.px]="isExpanded ? '30' : '0'"
@@ -162,7 +162,7 @@
             <a
               class="sub-nav-item"
               [style.margin-left.px]="isExpanded ? '30' : '0'"
-              [routerLink]="['/roles']"
+              [routerLink]="[routerList.users]"
               [routerLinkActive]="['active']"
               [routerLinkActiveOptions]="{exact:true}"
             >
@@ -172,7 +172,7 @@
             <a
               class="sub-nav-item"
               [style.margin-left.px]="isExpanded ? '30' : '0'"
-              [routerLink]="['/projects']"
+              [routerLink]="[routerList.projects]"
               [routerLinkActive]="['active']"
               [routerLinkActiveOptions]="{exact:true}"
             >
@@ -187,7 +187,7 @@
             <a
               class="sub-nav-item"
               [style.margin-left.px]="isExpanded ? '30' : '0'"
-              [routerLink]="['/environment_management']"
+              [routerLink]="[routerList.resources]"
               [routerLinkActive]="['active']"
               [routerLinkActiveOptions]="{exact:true}"
             >
@@ -198,7 +198,7 @@
               *ngIf="healthStatus?.admin"
               class="sub-nav-item"
               [style.margin-left.px]="isExpanded ? '30' : '0'"
-              [routerLink]="['/configuration']"
+              [routerLink]="[routerList.configuration]"
               [routerLinkActive]="['active']"
               [routerLinkActiveOptions]="{exact:true}"
             >


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@datalab.apache.org
For additional commands, e-mail: commits-h...@datalab.apache.org

Reply via email to