fix: change wording menu payback
This commit is contained in:
@@ -206,24 +206,24 @@ export const DesktopLayout = observer(() => {
|
||||
</Menu.Item>
|
||||
)}
|
||||
<SubMenu
|
||||
key="payback-main"
|
||||
icon={<ProfileOutlined />}
|
||||
title="Payback"
|
||||
key="payback-main"
|
||||
icon={<ProfileOutlined/>}
|
||||
title="Created"
|
||||
>
|
||||
{store.authentication.userData.role !== "Retail" && (
|
||||
<Menu.Item key="payback-to-user">
|
||||
<Link to={LINKS.PAYBACK}>
|
||||
<PayCircleOutlined />
|
||||
<span>Payback To</span>
|
||||
<PayCircleOutlined/>
|
||||
<span>Confirmation</span>
|
||||
</Link>
|
||||
</Menu.Item>
|
||||
)}
|
||||
{store.authentication.userData.role !== "Admin" && (
|
||||
<Menu.Item key="payback-from-user">
|
||||
<Link to={LINKS.PAYBACK_FROM_USER}>
|
||||
<AlipayOutlined/>
|
||||
<span>Payback</span>
|
||||
</Link>
|
||||
<Link to={LINKS.PAYBACK_CREATED}>
|
||||
<AlipayOutlined/>
|
||||
<span>Created</span>
|
||||
</Link>
|
||||
</Menu.Item>
|
||||
)}
|
||||
</SubMenu>
|
||||
|
||||
@@ -131,16 +131,16 @@ export const MenuList = observer((props) => {
|
||||
{store.authentication.userData.role !== "Retail" && (
|
||||
<Menu.Item key="payback-to-user">
|
||||
<Link to={LINKS.PAYBACK}>
|
||||
<PayCircleOutlined />
|
||||
<span>Payback To</span>
|
||||
<PayCircleOutlined/>
|
||||
<span>Confirmation</span>
|
||||
</Link>
|
||||
</Menu.Item>
|
||||
)}
|
||||
{store.authentication.userData.role !== "Admin" && (
|
||||
<Menu.Item key="payback-from-user">
|
||||
<Link to={LINKS.PAYBACK_FROM_USER}>
|
||||
<Link to={LINKS.PAYBACK_CREATED}>
|
||||
<AlipayOutlined/>
|
||||
<span>Payback</span>
|
||||
<span>Created</span>
|
||||
</Link>
|
||||
</Menu.Item>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user