Feat: Monitor Incidents Resolve

This commit is contained in:
Br0wnHammer committed 2025-07-24 01:47:42 +05:30
1 parent 4933d11dfd
commit 3650c400ca
2 files changed
+13 -3

No files matched your search

+5
View File
@@ -192,6 +192,11 @@ const useAckMonitorChecks = () => {
const ackMonitorChecks = async (monitorId, setUpdateTrigger) => {
try {
setIsLoading(true);
await networkService.updateMonitorChecksStatus({
monitorId,
ack: true,
});
setUpdateTrigger((prev) => !prev);
} catch (error) {
createToast({ body: t("checkHooks.failureResolveMonitor") });
} finally {