Map changed and made available to customers

This commit is contained in:
piratefinn 2017-11-13 12:39:31 +00:00
parent 8f725b93af
commit 3009365682
3 changed files with 4 additions and 4 deletions

View file

@ -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',

View file

@ -3,7 +3,7 @@
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<strong>Supplier Map</strong>
<strong>Purchase Map</strong>
<small>Required Data marked in <strong>bold</strong>.</small>
</div>
<div [ngSwitch]="dataReceived">

View file

@ -42,7 +42,7 @@
</li>
<li class="nav-item">
<a class="nav-link" routerLinkActive="active" [routerLink]="['/map']">
<i class="icon-map"></i> Supplier Map
<i class="icon-map"></i> Purchase Map
</a>
</li>
<li *ngIf="accountType == 'customer'" class="nav-item">