Perbaikan Project PPOB
This commit is contained in:
@@ -293,6 +293,46 @@ export const Profile = observer(() => {
|
||||
</Row>
|
||||
)} */}
|
||||
{store.authentication.userData.role === "Retail" && (
|
||||
// <Row>
|
||||
// <Col span={12}>
|
||||
// <Text strong>Foto Identitas</Text>
|
||||
// </Col>
|
||||
// <Col span={12}></Col>
|
||||
// <Col span={12}>
|
||||
// <Text>
|
||||
// <Image
|
||||
// src={
|
||||
// store.authentication.profileData.userDetail
|
||||
// ?.image_identity
|
||||
// ? `${appConfig.apiUrl}/config/image/${store.authentication.profileData.userDetail?.image_identity}`
|
||||
// : "https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
||||
// }
|
||||
// style={{ width: "10vw" }}
|
||||
// />
|
||||
// </Text>
|
||||
// </Col>
|
||||
// <Col span={24}>
|
||||
// <Text strong>Foto Toko</Text>
|
||||
// <Text>
|
||||
// <Row>
|
||||
// {JSON.parse(
|
||||
// store.authentication.profileData.userDetail
|
||||
// ?.image_store
|
||||
// ).map((item) => (
|
||||
// <Image
|
||||
// src={
|
||||
// store.authentication.profileData.userDetail
|
||||
// ?.image_store
|
||||
// ? `${appConfig.apiUrl}/config/image/${item}`
|
||||
// : "https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
||||
// }
|
||||
// style={{ width: "10vw", marginRight: 15 }}
|
||||
// />
|
||||
// ))}
|
||||
// </Row>
|
||||
// </Text>
|
||||
// </Col>
|
||||
// </Row>
|
||||
<Row>
|
||||
<Col span={12}>
|
||||
<Text strong>Foto Identitas</Text>
|
||||
@@ -315,18 +355,14 @@ export const Profile = observer(() => {
|
||||
<Text strong>Foto Toko</Text>
|
||||
<Text>
|
||||
<Row>
|
||||
{JSON.parse(
|
||||
store.authentication.profileData.userDetail
|
||||
?.image_store
|
||||
).map((item) => (
|
||||
{store.authentication.imageProfil.map((item) => (
|
||||
<Image
|
||||
src={
|
||||
store.authentication.profileData.userDetail
|
||||
?.image_store
|
||||
item
|
||||
? `${appConfig.apiUrl}/config/image/${item}`
|
||||
: "https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
||||
}
|
||||
style={{ width: "10vw", marginRight: 15 }}
|
||||
style={{ width: "10vw",marginRight:15 }}
|
||||
/>
|
||||
))}
|
||||
</Row>
|
||||
|
||||
Reference in New Issue
Block a user