mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 13:46:13 +08:00 
			
		
		
		
	Paused monitors stay paused after import
This commit is contained in:
		@@ -645,7 +645,11 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                        await updateMonitorNotification(bean.id, notificationIDList)
 | 
					                        await updateMonitorNotification(bean.id, notificationIDList)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        await startMonitor(socket.userID, bean.id);
 | 
					                        if (monitorList[i].active == 1) {
 | 
				
			||||||
 | 
					                            await startMonitor(socket.userID, bean.id);
 | 
				
			||||||
 | 
					                        } else {
 | 
				
			||||||
 | 
					                            await pauseMonitor(socket.userID, bean.id);
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    await sendNotificationList(socket)
 | 
					                    await sendNotificationList(socket)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user