This commit is contained in:
ajat91.sudrajat 2022-01-18 17:22:44 +07:00
commit 0405cbb48c

View File

@ -623,7 +623,7 @@ export const DetailUser = observer(() => {
</Col> </Col>
</Row> </Row>
)} */} )} */}
{store.authentication.userData.role === "Admin" && ( {store.authentication.userData.role === "Admin" && store.authentication.dataProfit.roles?.name !== "Admin Partner" && (
<Row> <Row>
<Col span={12}> <Col span={12}>
<Text strong>Foto Identitas</Text> <Text strong>Foto Identitas</Text>
@ -642,7 +642,8 @@ export const DetailUser = observer(() => {
/> />
</Text> </Text>
</Col> </Col>
<Col span={24}> {store.authentication.dataProfit.roles?.name === "Retail" && (
<Col span={24}>
<Text strong>Foto Toko</Text> <Text strong>Foto Toko</Text>
<Text> <Text>
<Row> <Row>
@ -660,6 +661,7 @@ export const DetailUser = observer(() => {
</Row> </Row>
</Text> </Text>
</Col> </Col>
)}
</Row> </Row>
)} )}
{store.authentication.userData.role === "Sales" && ( {store.authentication.userData.role === "Sales" && (