Bug Fixing
This commit is contained in:
parent
8325c886bd
commit
859bf200ca
|
@ -469,9 +469,11 @@ export const DetailUser = observer(() => {
|
||||||
Ganti Password
|
Ganti Password
|
||||||
</Button>
|
</Button>
|
||||||
{((store.authentication.userData.role === "Sales" &&
|
{((store.authentication.userData.role === "Sales" &&
|
||||||
store.membership.dataDetail.is_rejected === true) ||
|
store.membership.dataDetail.is_rejected === true &&
|
||||||
|
store.membership.dataDetail.is_active === false) ||
|
||||||
(store.authentication.userData.role === "Supervisor" &&
|
(store.authentication.userData.role === "Supervisor" &&
|
||||||
store.membership.dataDetail.is_rejected === true)) && (
|
store.membership.dataDetail.is_rejected === true &&
|
||||||
|
store.membership.dataDetail.is_active === false)) && (
|
||||||
<Button
|
<Button
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: "#1bb91d",
|
backgroundColor: "#1bb91d",
|
||||||
|
@ -566,19 +568,21 @@ export const DetailUser = observer(() => {
|
||||||
<Text strong>Foto Toko</Text>
|
<Text strong>Foto Toko</Text>
|
||||||
<Text>
|
<Text>
|
||||||
<Row>
|
<Row>
|
||||||
{store.authentication.listImage?store.authentication.listImage.map(
|
{store.authentication.listImage
|
||||||
(item, index) => (
|
? store.authentication.listImage.map(
|
||||||
<Image
|
(item, index) => (
|
||||||
key={index}
|
<Image
|
||||||
src={
|
key={index}
|
||||||
item
|
src={
|
||||||
? `${appConfig.apiUrl}/config/image/${item}`
|
item
|
||||||
: "https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
? `${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>
|
</Row>
|
||||||
</Text>
|
</Text>
|
||||||
</Col>
|
</Col>
|
||||||
|
@ -608,17 +612,21 @@ export const DetailUser = observer(() => {
|
||||||
<Text strong>Foto Toko</Text>
|
<Text strong>Foto Toko</Text>
|
||||||
<Text>
|
<Text>
|
||||||
<Row>
|
<Row>
|
||||||
{store.authentication.listImage?store.authentication.listImage.map((item, index) => (
|
{store.authentication.listImage
|
||||||
<Image
|
? store.authentication.listImage.map(
|
||||||
key={index}
|
(item, index) => (
|
||||||
src={
|
<Image
|
||||||
item
|
key={index}
|
||||||
? `${appConfig.apiUrl}/config/image/${item}`
|
src={
|
||||||
: "https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
item
|
||||||
}
|
? `${appConfig.apiUrl}/config/image/${item}`
|
||||||
style={{ width: "10vw", marginRight: 15 }}
|
: "https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
||||||
/>
|
}
|
||||||
)):""}
|
style={{ width: "10vw", marginRight: 15 }}
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
)
|
||||||
|
: ""}
|
||||||
</Row>
|
</Row>
|
||||||
</Text>
|
</Text>
|
||||||
</Col>
|
</Col>
|
||||||
|
@ -815,7 +823,8 @@ export const DetailUser = observer(() => {
|
||||||
description={
|
description={
|
||||||
<div style={{}}>
|
<div style={{}}>
|
||||||
<p>
|
<p>
|
||||||
<small>Pembeli : {item.buyer}</small> <br />
|
<small>Pembeli : {item.buyer}</small>{" "}
|
||||||
|
<br />
|
||||||
<small>Price : {item.price}</small> <br />
|
<small>Price : {item.price}</small> <br />
|
||||||
<small>
|
<small>
|
||||||
Tujuan : {item.transaction_destination}
|
Tujuan : {item.transaction_destination}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user