From 49be48229948892079ad2ad31f45118c7327182d Mon Sep 17 00:00:00 2001 From: piratefinn Date: Mon, 13 Nov 2017 12:39:31 +0000 Subject: [PATCH] Map changed and made available to customers --- src/app/dashboard/dashboard.routing.ts | 4 ++-- src/app/dashboard/map.component.html | 2 +- src/app/layouts/full-layout.component.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 @@