mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 22:21:03 +08:00
switch on the notification, if it is added in EditMonitor.vue
This commit is contained in:
@@ -527,12 +527,13 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
|
||||
try {
|
||||
checkLogin(socket)
|
||||
|
||||
await Notification.save(notification, notificationID, socket.userID)
|
||||
let notificationBean = await Notification.save(notification, notificationID, socket.userID)
|
||||
await sendNotificationList(socket)
|
||||
|
||||
callback({
|
||||
ok: true,
|
||||
msg: "Saved",
|
||||
id: notificationBean.id,
|
||||
});
|
||||
|
||||
} catch (e) {
|
||||
|
Reference in New Issue
Block a user