Fix: voting status

Deskripsi:
- Perubahan router status & riwayat
This commit is contained in:
2024-10-29 14:10:46 +08:00
parent 8f76067380
commit e5e36a3889
35 changed files with 455 additions and 281 deletions

View File

@@ -336,6 +336,7 @@ async function onReject(
const res = await AdminEvent_funEditCatatanById(data as any);
if (res.status === 200) {
setSaveLoading(true);
const dataNotif = {
appId: res.data?.id,
status: res.data?.Voting_Status?.name as any,
@@ -358,7 +359,7 @@ async function onReject(
await AdminVote_getListTableByStatusId("2").then((val) => {
setData(val);
setSaveLoading(true);
setSaveLoading(false);
ComponentGlobal_NotifikasiBerhasil(res.message);
close();
});