fix: menu list

This commit is contained in:
ilham 2022-01-02 23:34:43 +07:00
parent 9b7a645622
commit abb67b8c65

View File

@ -51,7 +51,7 @@ export const MenuList = observer((props) => {
overflowedIndicator={0}
forceSubMenuRender={true}
>
{store.authentication.userData.role !== "Retail" && (
{store.authentication.userData.role === "Admin" || store.authentication.userData.role === "Admin Partner" && (
<Menu.Item key="home">
<Link to={LINKS.HOME}>
<HomeOutlined />