Perbaikan Project PPOB
This commit is contained in:
parent
d590b94a6c
commit
4d0c37ec9b
|
@ -14,6 +14,10 @@ import {
|
||||||
ProjectOutlined,
|
ProjectOutlined,
|
||||||
ShoppingCartOutlined,
|
ShoppingCartOutlined,
|
||||||
UserOutlined,
|
UserOutlined,
|
||||||
|
SlackOutlined,
|
||||||
|
CodepenOutlined,
|
||||||
|
WindowsOutlined,
|
||||||
|
AliyunOutlined
|
||||||
} from "@ant-design/icons";
|
} from "@ant-design/icons";
|
||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
import { useStore } from "../../utils/useStore";
|
import { useStore } from "../../utils/useStore";
|
||||||
|
@ -67,13 +71,13 @@ export const MenuList = observer((props) => {
|
||||||
<SubMenu key="config" icon={<MenuUnfoldOutlined />} title="Config">
|
<SubMenu key="config" icon={<MenuUnfoldOutlined />} title="Config">
|
||||||
<Menu.Item key="partner">
|
<Menu.Item key="partner">
|
||||||
<Link to={LINKS.PARTNER}>
|
<Link to={LINKS.PARTNER}>
|
||||||
<ProjectOutlined />
|
<WindowsOutlined />
|
||||||
<span>Rekanan</span>
|
<span>Rekanan</span>
|
||||||
</Link>
|
</Link>
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item key="commision">
|
<Menu.Item key="commision">
|
||||||
<Link to={LINKS.COMMISSION}>
|
<Link to={LINKS.COMMISSION}>
|
||||||
<MoneyCollectOutlined />
|
<SlackOutlined />
|
||||||
<span>Komisi</span>
|
<span>Komisi</span>
|
||||||
</Link>
|
</Link>
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
|
@ -87,9 +91,9 @@ export const MenuList = observer((props) => {
|
||||||
)}
|
)}
|
||||||
{store.authentication.userData.role === "Admin" && (
|
{store.authentication.userData.role === "Admin" && (
|
||||||
<SubMenu key="product-main" icon={<ProfileOutlined />} title="Product">
|
<SubMenu key="product-main" icon={<ProfileOutlined />} title="Product">
|
||||||
<Menu.Item key="product">
|
<Menu.Item key="produk">
|
||||||
<Link to={LINKS.PRODUCT}>
|
<Link to={LINKS.PRODUCT}>
|
||||||
<DatabaseOutlined />
|
<AliyunOutlined />
|
||||||
<span>Produk</span>
|
<span>Produk</span>
|
||||||
</Link>
|
</Link>
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
|
@ -140,7 +144,7 @@ export const MenuList = observer((props) => {
|
||||||
store.authentication.userData.role !== "Admin Partner" && (
|
store.authentication.userData.role !== "Admin Partner" && (
|
||||||
<SubMenu
|
<SubMenu
|
||||||
key="payback-main"
|
key="payback-main"
|
||||||
icon={<ProfileOutlined />}
|
icon={<CodepenOutlined />}
|
||||||
title="Pembayaran"
|
title="Pembayaran"
|
||||||
>
|
>
|
||||||
{store.authentication.userData.role !== "Retail" && (
|
{store.authentication.userData.role !== "Retail" && (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user