update
This commit is contained in:
parent
4d917a7e41
commit
081e96243d
@ -33,7 +33,7 @@ export function DashboardNavigation() {
|
|||||||
if (!user) return [];
|
if (!user) return [];
|
||||||
|
|
||||||
return AllDashboardMenu.filter(it => {
|
return AllDashboardMenu.filter(it => {
|
||||||
return !it.role || it.role.includes(user.department)
|
return !it.role || it.role.includes(user.iss)
|
||||||
});
|
});
|
||||||
}, [user])
|
}, [user])
|
||||||
return (<div className={'dashboard-menu-container'}>
|
return (<div className={'dashboard-menu-container'}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user