Bug Fixing
This commit is contained in:
parent
8273dd3a1f
commit
851f337c1a
|
@ -623,7 +623,7 @@ export const DetailUser = observer(() => {
|
|||
</Col>
|
||||
</Row>
|
||||
)} */}
|
||||
{store.authentication.userData.role === "Admin" && (
|
||||
{store.authentication.userData.role === "Admin" && store.authentication.dataProfit.roles?.name !== "Admin Partner" && (
|
||||
<Row>
|
||||
<Col span={12}>
|
||||
<Text strong>Foto Identitas</Text>
|
||||
|
@ -642,7 +642,8 @@ export const DetailUser = observer(() => {
|
|||
/>
|
||||
</Text>
|
||||
</Col>
|
||||
<Col span={24}>
|
||||
{store.authentication.dataProfit.roles?.name === "Retail" && (
|
||||
<Col span={24}>
|
||||
<Text strong>Foto Toko</Text>
|
||||
<Text>
|
||||
<Row>
|
||||
|
@ -660,6 +661,7 @@ export const DetailUser = observer(() => {
|
|||
</Row>
|
||||
</Text>
|
||||
</Col>
|
||||
)}
|
||||
</Row>
|
||||
)}
|
||||
{store.authentication.userData.role === "Sales" && (
|
||||
|
|
Loading…
Reference in New Issue
Block a user