mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-26 06:04:13 -08:00
Fix: Update monitor object on pause (#4032)
This commit is contained in:
parent
d56bf08cd7
commit
9964b6c4d8
|
@ -1832,6 +1832,7 @@ async function pauseMonitor(userID, monitorID) {
|
|||
|
||||
if (monitorID in server.monitorList) {
|
||||
server.monitorList[monitorID].stop();
|
||||
server.monitorList[monitorID].active = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue