hide menus sidebar in polres
This commit is contained in:
parent
397b30aa75
commit
2c7b46bcc3
|
|
@ -2818,6 +2818,8 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
|||
},
|
||||
],
|
||||
},
|
||||
...(!hideForRole3
|
||||
? [
|
||||
{
|
||||
groupLabel: "",
|
||||
id: "blog",
|
||||
|
|
@ -2832,6 +2834,8 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
|||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
: []),
|
||||
{
|
||||
groupLabel: "",
|
||||
id: "curatedcontent",
|
||||
|
|
@ -2874,6 +2878,8 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
|||
},
|
||||
],
|
||||
},
|
||||
...(!hideForRole3
|
||||
? [
|
||||
{
|
||||
groupLabel: "",
|
||||
id: "settings",
|
||||
|
|
@ -2910,6 +2916,8 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
|||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
: []),
|
||||
];
|
||||
} else if (Number(userParentLevelId) == 761) {
|
||||
menusSelected = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue