Merge branch 'develop' into 'devops-staging'
fix: menu list See merge request empatnusabangsa/ppob/ppob-frontend!29
This commit is contained in:
commit
644003a122
|
@ -51,7 +51,15 @@ export const MenuList = observer((props) => {
|
|||
overflowedIndicator={0}
|
||||
forceSubMenuRender={true}
|
||||
>
|
||||
{store.authentication.userData.role === "Admin" || store.authentication.userData.role === "Admin Partner" && (
|
||||
{store.authentication.userData.role === "Admin" && (
|
||||
<Menu.Item key="home">
|
||||
<Link to={LINKS.HOME}>
|
||||
<HomeOutlined />
|
||||
<span>Beranda</span>
|
||||
</Link>
|
||||
</Menu.Item>
|
||||
)}
|
||||
{store.authentication.userData.role === "Admin Partner" && (
|
||||
<Menu.Item key="home">
|
||||
<Link to={LINKS.HOME}>
|
||||
<HomeOutlined />
|
||||
|
|
Loading…
Reference in New Issue
Block a user