You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by hs...@apache.org on 2022/10/20 09:46:35 UTC
[incubator-datalab] 01/01: fixed routing
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 <bo...@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-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org