We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 508c838 commit 1ed6112Copy full SHA for 1ed6112
Server/controllers/monitorController.js
@@ -316,6 +316,10 @@ class MonitorController {
316
name: "deleteDistributedUptimeChecks",
317
fn: () => this.db.deleteDistributedChecksByMonitorId(monitor._id),
318
},
319
+
320
+ // TODO We don't actually want to delete the status page if there are other monitors in it
321
+ // We actually just want to remove the monitor being deleted from the status page.
322
+ // Only delete he status page if there are no other monitors in it.
323
{
324
name: "deleteStatusPages",
325
fn: () => this.db.deleteStatusPagesByMonitorId(monitor._id),
0 commit comments