From daf12522c20890c8c6e6779346a9effe4ae7f3c7 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Thu, 7 Apr 2022 20:31:55 +0300 Subject: [PATCH] Add super admin and monitor options in sidebar. Change tabs in methodology --- src/app/app-routing.module.ts | 3 +- src/app/app.component.html | 6 +- src/app/app.component.ts | 16 +- .../edit-stakeholder.module.ts | 5 +- .../manageStakeholders.component.html | 10 +- .../manageStakeholders.component.ts | 2 + .../manageStakeholders.module.ts | 4 +- src/app/methodology/methodology.component.ts | 384 +++++++++--------- src/app/topic/topic.component.html | 2 +- 9 files changed, 220 insertions(+), 212 deletions(-) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 7d15630..bfc80e9 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -24,7 +24,8 @@ const routes: Routes = [ { path: 'admin', loadChildren: () => import('./manageStakeholders/manageStakeholders.module').then(m => m.ManageStakeholdersModule), - canActivateChild: [LoginGuard] + canActivateChild: [LoginGuard], + data: {hasAdminMenu: true} }, { path: 'admin/admin-tools', diff --git a/src/app/app.component.html b/src/app/app.component.html index 7a4d88f..b420138 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -2,13 +2,13 @@
-