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