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