Bug Fixing
This commit is contained in:
parent
aec06c9eb0
commit
fd4090caaa
|
@ -97,7 +97,7 @@ export const Konfirmasi = observer(() => {
|
|||
{
|
||||
title: "Foto Toko",
|
||||
render: (text, record) =>
|
||||
record.user_detail?.image_store !== '""' ? (
|
||||
record.roles?.name !== "Sales" && record.user_detail?.image_store !== "[]" && record.user_detail?.image_store !== "\"\""? (
|
||||
<Button
|
||||
onClick={async () => {
|
||||
setToko(record);
|
||||
|
@ -229,6 +229,7 @@ export const Konfirmasi = observer(() => {
|
|||
modalLoader.setLoading(false);
|
||||
};
|
||||
|
||||
//if (store.approval.user_detail.image_store === []) delete columns[2];
|
||||
return (
|
||||
<div className={["ppob-container"].join(" ")}>
|
||||
<BreadcumbComponent
|
||||
|
|
|
@ -299,7 +299,7 @@ export const Membership = observer(() => {
|
|||
? message.success(
|
||||
response?.body?.message || "Berhasil Tambah Member Baru"
|
||||
)
|
||||
: message.error(response?.body?.error || "Gagal Tambah Member Baru");
|
||||
: message.error(response?.body?.error || "Gagal");
|
||||
await getData();
|
||||
} catch (e) {
|
||||
console.log(e, "apa errornya");
|
||||
|
|
Loading…
Reference in New Issue
Block a user