Merge branch 'develop' into 'devops-staging'

Develop

See merge request empatnusabangsa/ppob/ppob-frontend!59
This commit is contained in:
ajat sudrajat 2022-01-07 11:30:31 +00:00
commit 63e2a71b16
2 changed files with 37 additions and 16 deletions

View File

@ -400,18 +400,26 @@ export const DetailUser = observer(() => {
</Col> </Col>
<Col span={12}> <Col span={12}>
<Text> <Text>
<Image <Image
src={`${appConfig.apiUrl}/config/image/${store.authentication.dataProfit.userDetail?.image_identity}`} src={
style={{ width: "10vw" }} 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> </Text>
</Col> </Col>
<Col span={12}> <Col span={12}>
<Text> <Text>
<Image <Image
src={`${appConfig.apiUrl}/config/image/${store.authentication.dataProfit.userDetail?.image_store}`} src={
style={{ width: "10vw" }} 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> </Text>
</Col> </Col>
</Row> </Row>

View File

@ -263,16 +263,29 @@ export const Profile = observer(() => {
<Text strong>Foto Toko</Text> <Text strong>Foto Toko</Text>
</Col> </Col>
<Col span={12}> <Col span={12}>
<Image <Text>
src={`${appConfig.apiUrl}/config/image/${store.authentication.profileData.userDetail?.image_identity}`} <Image
style={{ width: "10vw" }} src={
/> store.authentication.dataProfit.profileData
?.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>
<Col span={12}> <Col span={12}>
<Image <Text>
src={`${appConfig.apiUrl}/config/image/${store.authentication.profileData.userDetail?.image_store}`} <Image
style={{ width: "10vw" }} src={
/> store.authentication.dataProfit.profileData?.image_store
? `${appConfig.apiUrl}/config/image/${store.authentication.profileData.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>
</Col> </Col>
</Row> </Row>
</Col> </Col>