Update Versi 1.5.27 #32

Merged
bagasbanuna merged 1009 commits from staging into main 2025-12-17 12:22:28 +08:00
1502 changed files with 56507 additions and 17391 deletions
Showing only changes of commit 1ce6416243 - Show all commits

View File

@@ -110,6 +110,7 @@ async function onClick(
eventId: string, eventId: string,
setLoading: any setLoading: any
) { ) {
setLoading(true);
const checkStatus = await event_checkStatus({ id: eventId }); const checkStatus = await event_checkStatus({ id: eventId });
if (checkStatus) { if (checkStatus) {
@@ -141,13 +142,14 @@ async function onClick(
}); });
ComponentGlobal_NotifikasiBerhasil(res.message, 1500); ComponentGlobal_NotifikasiBerhasil(res.message, 1500);
setLoading(true);
router.replace(RouterEvent.status({ id: "3" })); router.replace(RouterEvent.status({ id: "3" }));
} }
} else { } else {
setLoading(false);
ComponentGlobal_NotifikasiGagal(res.message); ComponentGlobal_NotifikasiGagal(res.message);
} }
} else { } else {
router.back();
ComponentGlobal_NotifikasiPeringatan("Event telah direview admin"); ComponentGlobal_NotifikasiPeringatan("Event telah direview admin");
} }
} }