diff --git a/src/app/dashboard/dashboard.routing.ts b/src/app/dashboard/dashboard.routing.ts index d0e56fe..9794cfe 100644 --- a/src/app/dashboard/dashboard.routing.ts +++ b/src/app/dashboard/dashboard.routing.ts @@ -50,6 +50,7 @@ const routes: Routes = [ path: 'leaderboard', component: LeaderboardComponent, data: { title: 'Leaderboards' }, + canActivate: [CustomerGuard], }, { path: 'transaction-log', @@ -59,8 +60,7 @@ const routes: Routes = [ { path: 'map', component: MapComponent, - data: { title: 'Supplier Map' }, - canActivate: [OrgGuard], + data: { title: 'Purchase Map' }, }, { path: 'payroll-log', diff --git a/src/app/dashboard/map.component.html b/src/app/dashboard/map.component.html index 1c408a4..28b375f 100644 --- a/src/app/dashboard/map.component.html +++ b/src/app/dashboard/map.component.html @@ -3,7 +3,7 @@
- Supplier Map + Purchase Map Required Data marked in bold.
diff --git a/src/app/layouts/full-layout.component.html b/src/app/layouts/full-layout.component.html index 7df1b61..959ef60 100644 --- a/src/app/layouts/full-layout.component.html +++ b/src/app/layouts/full-layout.component.html @@ -42,7 +42,7 @@