Perbaikan Page Konfirmasi
This commit is contained in:
@@ -90,18 +90,19 @@ export const Konfirmasi = observer(() => {
|
||||
},
|
||||
{
|
||||
title: "Foto Toko",
|
||||
dataIndex: "image_prove",
|
||||
key: "image_prove",
|
||||
render: (text, record) => (
|
||||
<Button
|
||||
onClick={async () => {
|
||||
setToko(record);
|
||||
setVisibleModalToko(true);
|
||||
}}
|
||||
>
|
||||
Lihat Foto
|
||||
</Button>
|
||||
),
|
||||
render: (text, record) =>
|
||||
record.user_detail?.image_store !== "\"\"" ? (
|
||||
<Button
|
||||
onClick={async () => {
|
||||
setToko(record);
|
||||
setVisibleModalToko(true);
|
||||
}}
|
||||
>
|
||||
Lihat Foto
|
||||
</Button>
|
||||
) : (
|
||||
""
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "Action",
|
||||
@@ -173,7 +174,6 @@ export const Konfirmasi = observer(() => {
|
||||
),
|
||||
},
|
||||
];
|
||||
if (store.authentication.userData.role === "Retail") columns.pop();
|
||||
|
||||
const routeData = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user