Fix: Wrong permission of sales
This commit is contained in:
parent
2c0c91b136
commit
461db9d8fa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user