Perbaikan PPOB
This commit is contained in:
parent
3c80dcedf6
commit
2f48d74905
|
@ -401,7 +401,11 @@ export const DetailUser = observer(() => {
|
|||
<Col span={12}>
|
||||
<Text>
|
||||
<Image
|
||||
src={`${appConfig.apiUrl}/config/image/${store.authentication.dataProfit.userDetail?.image_identity}`}
|
||||
src={
|
||||
store.authentication.dataProfit.userDetail?.image_identity
|
||||
? `${appConfig.apiUrl}/config/image/${store.authentication.dataProfit.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>
|
||||
|
@ -409,7 +413,11 @@ export const DetailUser = observer(() => {
|
|||
<Col span={12}>
|
||||
<Text>
|
||||
<Image
|
||||
src={`${appConfig.apiUrl}/config/image/${store.authentication.dataProfit.userDetail?.image_store}`}
|
||||
src={
|
||||
store.authentication.dataProfit.userDetail?.image_store
|
||||
? `${appConfig.apiUrl}/config/image/${store.authentication.dataProfit.userDetail?.image_store}`
|
||||
: "https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
||||
}
|
||||
style={{ width: "10vw" }}
|
||||
/>
|
||||
</Text>
|
||||
|
|
|
@ -266,12 +266,14 @@ export const Profile = observer(() => {
|
|||
<Image
|
||||
src={`${appConfig.apiUrl}/config/image/${store.authentication.profileData.userDetail?.image_identity}`}
|
||||
style={{ width: "10vw" }}
|
||||
alt="No Photo"
|
||||
/>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<Image
|
||||
src={`${appConfig.apiUrl}/config/image/${store.authentication.profileData.userDetail?.image_store}`}
|
||||
style={{ width: "10vw" }}
|
||||
alt="No Photo"
|
||||
/>
|
||||
</Col>
|
||||
</Row>
|
||||
|
|
Loading…
Reference in New Issue
Block a user