From b8cc8701c5d8fa5458644f151c10ca6fa7a61029 Mon Sep 17 00:00:00 2001 From: pandutibil Date: Fri, 10 Nov 2023 15:14:46 +0530 Subject: [PATCH] Role dynamically added --- src/app/views/dashboard/dashboard.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/views/dashboard/dashboard.component.ts b/src/app/views/dashboard/dashboard.component.ts index 514fcc18..b15499a0 100644 --- a/src/app/views/dashboard/dashboard.component.ts +++ b/src/app/views/dashboard/dashboard.component.ts @@ -65,7 +65,7 @@ export class DashboardComponent implements OnInit { this._authService.startRefreshTokenTimer(); this._authService.updateSideNav(true); let preferences = { - role: 1 + role: environment.config === 'NVSK' ? 0 : 1 } this.setStateDetails(preferences) }