From 461db9d8fab43aec7d22d2161390609f29f333af Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Wed, 21 Aug 2019 15:40:46 +0530 Subject: [PATCH] Fix: Wrong permission of sales --- bookie/src/app/sales/sales-routing.module.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bookie/src/app/sales/sales-routing.module.ts b/bookie/src/app/sales/sales-routing.module.ts index fa61c23..b243751 100644 --- a/bookie/src/app/sales/sales-routing.module.ts +++ b/bookie/src/app/sales/sales-routing.module.ts @@ -40,7 +40,7 @@ const routes: Routes = [ canActivate: [AuthGuard], // canDeactivate: [CanDeactivateGuard], data: { - permission: 'Guest Book' + permission: 'Sales' }, resolve: { item: BillResolver @@ -51,7 +51,7 @@ const routes: Routes = [ component: SalesHomeComponent, canActivate: [AuthGuard], data: { - permission: 'Guest Book' + permission: 'Sales' }, resolve: { list: MenuCategoriesResolver @@ -62,7 +62,7 @@ const routes: Routes = [ component: MenuCategoriesComponent, canActivate: [AuthGuard], data: { - permission: 'Guest Book' + permission: 'Sales' }, resolve: { list: MenuCategoriesResolver @@ -73,7 +73,7 @@ const routes: Routes = [ component: ProductsComponent, canActivate: [AuthGuard], data: { - permission: 'Guest Book' + permission: 'Sales' }, resolve: { list: ProductsResolver