Merge branch 'develop' of https://gitlab.com/empatnusabangsa/ppob/ppob-frontend into develop
This commit is contained in:
@@ -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" && (
|
||||
|
||||
Reference in New Issue
Block a user