mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
Paused monitors stay paused after import
This commit is contained in:
parent
69a7c4dab4
commit
1ef4562905
1 changed files with 5 additions and 1 deletions
|
@ -645,7 +645,11 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
|
||||||
|
|
||||||
await updateMonitorNotification(bean.id, notificationIDList)
|
await updateMonitorNotification(bean.id, notificationIDList)
|
||||||
|
|
||||||
|
if (monitorList[i].active == 1) {
|
||||||
await startMonitor(socket.userID, bean.id);
|
await startMonitor(socket.userID, bean.id);
|
||||||
|
} else {
|
||||||
|
await pauseMonitor(socket.userID, bean.id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
await sendNotificationList(socket)
|
await sendNotificationList(socket)
|
||||||
|
|
Loading…
Reference in a new issue