Bug Fixing

This commit is contained in:
ajat91.sudrajat 2022-01-27 09:40:42 +07:00
parent 9fc1ee2fc4
commit 6239cfd491

View File

@ -91,7 +91,7 @@ export const Konfirmasi = observer(() => {
{
title: "Foto Toko",
render: (text, record) =>
record.user_detail?.image_store !== "\"\"" ? (
record.user_detail?.image_store !== '""' ? (
<Button
onClick={async () => {
setToko(record);
@ -378,21 +378,25 @@ export const Konfirmasi = observer(() => {
>
Foto Identitas
</Button>
<Button
style={
item.is_active === true
? {
marginLeft: 10,
}
: { marginTop: 10 }
}
onClick={async () => {
setToko(item);
setVisibleModalToko(true);
}}
>
Foto Toko
</Button>
{item.user_detail?.image_store !== "\"\"" ? (
<Button
style={
item.is_active === true
? {
marginLeft: 10,
}
: { marginTop: 10 }
}
onClick={async () => {
setToko(item);
setVisibleModalToko(true);
}}
>
Foto Toko
</Button>
) : (
""
)}
</p>
</div>
}