Fix: Wrong permission of sales
This commit is contained in:
parent
2c0c91b136
commit
461db9d8fa
@ -40,7 +40,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
// canDeactivate: [CanDeactivateGuard],
|
// canDeactivate: [CanDeactivateGuard],
|
||||||
data: {
|
data: {
|
||||||
permission: 'Guest Book'
|
permission: 'Sales'
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
item: BillResolver
|
item: BillResolver
|
||||||
@ -51,7 +51,7 @@ const routes: Routes = [
|
|||||||
component: SalesHomeComponent,
|
component: SalesHomeComponent,
|
||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
data: {
|
data: {
|
||||||
permission: 'Guest Book'
|
permission: 'Sales'
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
list: MenuCategoriesResolver
|
list: MenuCategoriesResolver
|
||||||
@ -62,7 +62,7 @@ const routes: Routes = [
|
|||||||
component: MenuCategoriesComponent,
|
component: MenuCategoriesComponent,
|
||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
data: {
|
data: {
|
||||||
permission: 'Guest Book'
|
permission: 'Sales'
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
list: MenuCategoriesResolver
|
list: MenuCategoriesResolver
|
||||||
@ -73,7 +73,7 @@ const routes: Routes = [
|
|||||||
component: ProductsComponent,
|
component: ProductsComponent,
|
||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
data: {
|
data: {
|
||||||
permission: 'Guest Book'
|
permission: 'Sales'
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
list: ProductsResolver
|
list: ProductsResolver
|
||||||
|
Loading…
x
Reference in New Issue
Block a user