fix: merge error menu list
This commit is contained in:
parent
d54e2a8669
commit
fa85699760
|
@ -4,15 +4,14 @@ import {Link} from "react-router-dom";
|
||||||
import {
|
import {
|
||||||
AppstoreOutlined,
|
AppstoreOutlined,
|
||||||
DatabaseOutlined,
|
DatabaseOutlined,
|
||||||
|
FileAddOutlined,
|
||||||
FileProtectOutlined,
|
FileProtectOutlined,
|
||||||
|
FileSyncOutlined,
|
||||||
HomeOutlined,
|
HomeOutlined,
|
||||||
MenuUnfoldOutlined,
|
MenuUnfoldOutlined,
|
||||||
MoneyCollectOutlined,
|
MoneyCollectOutlined,
|
||||||
ProjectOutlined,
|
|
||||||
FileProtectOutlined,
|
|
||||||
FileAddOutlined,
|
|
||||||
FileSyncOutlined,
|
|
||||||
ProfileOutlined,
|
ProfileOutlined,
|
||||||
|
ProjectOutlined,
|
||||||
UserOutlined,
|
UserOutlined,
|
||||||
} from "@ant-design/icons";
|
} from "@ant-design/icons";
|
||||||
import {observer} from "mobx-react-lite";
|
import {observer} from "mobx-react-lite";
|
||||||
|
@ -119,6 +118,8 @@ export const MenuList = observer((props) => {
|
||||||
<HomeOutlined/>
|
<HomeOutlined/>
|
||||||
<span>Transaction</span>
|
<span>Transaction</span>
|
||||||
</Link>
|
</Link>
|
||||||
|
</Menu.Item>
|
||||||
|
)}
|
||||||
{store.authentication.userData.role !== "Retail" && (
|
{store.authentication.userData.role !== "Retail" && (
|
||||||
<Menu.Item key="product">
|
<Menu.Item key="product">
|
||||||
<Link to={LINKS.PRODUCT}>
|
<Link to={LINKS.PRODUCT}>
|
||||||
|
@ -154,6 +155,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>
|
</Menu>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user