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