diff --git a/src/pages/Membership/DetailUser.js b/src/pages/Membership/DetailUser.js index 6d275b4..ca191eb 100644 --- a/src/pages/Membership/DetailUser.js +++ b/src/pages/Membership/DetailUser.js @@ -566,7 +566,7 @@ export const DetailUser = observer(() => { Foto Toko - {store.authentication.listImage.map( + {store.authentication.listImage?store.authentication.listImage.map( (item, index) => ( { style={{ width: "10vw", marginRight: 15 }} /> ) - )} + ) : ""} @@ -608,7 +608,7 @@ export const DetailUser = observer(() => { Foto Toko - {store.authentication.listImage.map((item, index) => ( + {store.authentication.listImage?store.authentication.listImage.map((item, index) => ( { } style={{ width: "10vw", marginRight: 15 }} /> - ))} + )):""} @@ -811,10 +811,11 @@ export const DetailUser = observer(() => { >

+ Pembeli : {item.buyer}
Price : {item.price}
Tujuan : {item.transaction_destination} diff --git a/src/pages/Membership/Membership.js b/src/pages/Membership/Membership.js index e3af9d8..e51ffa5 100644 --- a/src/pages/Membership/Membership.js +++ b/src/pages/Membership/Membership.js @@ -434,6 +434,7 @@ export const Membership = observer(() => { description={

+ Username : {item.username}
Role : {item.roles?.name}
Saldo : {item.coa?.amount}