Merge branch 'develop' into 'devops-staging'

perbaikan Project PPOB

See merge request empatnusabangsa/ppob/ppob-frontend!39
This commit is contained in:
ajat sudrajat 2022-01-03 09:57:29 +00:00
commit 788f5107ca

View File

@ -124,14 +124,15 @@ export const DesktopLayout = observer(() => {
}}
>
<Menu>
{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 />
<span>Beranda</span>
</Link>
</Menu.Item>
)}
))}
{store.authentication.userData.role === "Admin" && (
<Menu.Item key="membership">
<Link to={LINKS.MEMBERSHIP}>