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: "",
|
groupLabel: "",
|
||||||
id: "blog",
|
id: "blog",
|
||||||
|
|
@ -2832,6 +2834,8 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
]
|
||||||
|
: []),
|
||||||
{
|
{
|
||||||
groupLabel: "",
|
groupLabel: "",
|
||||||
id: "curatedcontent",
|
id: "curatedcontent",
|
||||||
|
|
@ -2874,6 +2878,8 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
...(!hideForRole3
|
||||||
|
? [
|
||||||
{
|
{
|
||||||
groupLabel: "",
|
groupLabel: "",
|
||||||
id: "settings",
|
id: "settings",
|
||||||
|
|
@ -2910,6 +2916,8 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
]
|
||||||
|
: []),
|
||||||
];
|
];
|
||||||
} else if (Number(userParentLevelId) == 761) {
|
} else if (Number(userParentLevelId) == 761) {
|
||||||
menusSelected = [
|
menusSelected = [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue