fix: use active instead of isActive in uploadBackup

pull/2693/head
Peace 2 years ago
parent 2c581ade90
commit 9446c2d102
No known key found for this signature in database
GPG Key ID: 0EF6B46E172B739F

@ -1409,7 +1409,7 @@ let needSetup = false;
await updateMonitorNotification(bean.id, notificationIDList);
// If monitor was active start it immediately, otherwise pause it
if (monitorListData[i].isActive === 1) {
if (monitorListData[i].active === 1) {
await startMonitor(socket.userID, bean.id);
} else {
await pauseMonitor(socket.userID, bean.id);

Loading…
Cancel
Save