menu list
This commit is contained in:
parent
d54e2a8669
commit
78f20e76d8
|
@ -9,7 +9,6 @@ import {
|
||||||
MenuUnfoldOutlined,
|
MenuUnfoldOutlined,
|
||||||
MoneyCollectOutlined,
|
MoneyCollectOutlined,
|
||||||
ProjectOutlined,
|
ProjectOutlined,
|
||||||
FileProtectOutlined,
|
|
||||||
FileAddOutlined,
|
FileAddOutlined,
|
||||||
FileSyncOutlined,
|
FileSyncOutlined,
|
||||||
ProfileOutlined,
|
ProfileOutlined,
|
||||||
|
@ -119,14 +118,15 @@ export const MenuList = observer((props) => {
|
||||||
<HomeOutlined />
|
<HomeOutlined />
|
||||||
<span>Transaction</span>
|
<span>Transaction</span>
|
||||||
</Link>
|
</Link>
|
||||||
{store.authentication.userData.role !== "Retail" && (
|
</Menu.Item>)}
|
||||||
|
{store.authentication.userData.role !== "Retail" && (
|
||||||
<Menu.Item key="product">
|
<Menu.Item key="product">
|
||||||
<Link to={LINKS.PRODUCT}>
|
<Link to={LINKS.PRODUCT}>
|
||||||
<DatabaseOutlined/>
|
<DatabaseOutlined/>
|
||||||
<span>Product</span>
|
<span>Product</span>
|
||||||
</Link>
|
</Link>
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
)}
|
)}
|
||||||
<Menu.Item key="payback">
|
<Menu.Item key="payback">
|
||||||
<Link to={LINKS.PAYBACK}>
|
<Link to={LINKS.PAYBACK}>
|
||||||
<DatabaseOutlined/>
|
<DatabaseOutlined/>
|
||||||
|
@ -154,6 +154,6 @@ export const MenuList = observer((props) => {
|
||||||
{/* </Link>*/}
|
{/* </Link>*/}
|
||||||
{/*</Menu.Item>*/}
|
{/*</Menu.Item>*/}
|
||||||
<Menu.Divider style={{ background: "transparent", paddingTop: 15 }} />
|
<Menu.Divider style={{ background: "transparent", paddingTop: 15 }} />
|
||||||
</Menu.Item>
|
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user