Feat: Monitor Incidents Resolve
This commit is contained in:
1 parent
4933d11dfd
commit
3650c400ca
2 files changed
+13
-3
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user