This commit is contained in:
Possible
2024-07-26 13:18:15 +01:00
parent c9599309ea
commit 6ecc7e3c15
3 changed files with 14 additions and 4 deletions
@@ -669,7 +669,13 @@ const MkdListTableV2 = ({
<button
type="button"
ref={refreshRef}
onClick={() => getData(1, pageSize)}
onClick={() => {
if (useExternalData) {
setCurrentTableData(() => externalData);
} else {
getData(1, pageSize);
}
}}
className="hidden"
></button>
)}
+6 -2
View File
@@ -389,7 +389,7 @@ const AdminListReceipts = () => {
column: "receipt_status",
action: "hide",
operator: operations.EQUAL,
ifValue: 0,
ifValue: 1,
},
},
open: {
@@ -408,7 +408,7 @@ const AdminListReceipts = () => {
column: "receipt_status",
action: "hide",
operator: operations.EQUAL,
ifValue: 1,
ifValue: 0,
},
},
add: {
@@ -470,6 +470,10 @@ const AdminListReceipts = () => {
table="receipts"
inputConfirmation={false}
/>
{/*
<div className="w-full h-[31.25rem] border-2 border-red-600">
<canvas className="border border-blue-600 h-full w-full" />
</div> */}
</div>
);
};