From 4b2978dfb036f7a6a96fe65580f771b62e5a1592 Mon Sep 17 00:00:00 2001 From: Riccardo Crippa Date: Tue, 29 Apr 2025 15:32:33 +0200 Subject: [PATCH] update isImportantForNotification comment. --- server/model/monitor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 9afd1ec55..f1b1b57cb 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -1259,10 +1259,10 @@ class Monitor extends BeanModel { // DOWN -> DOWN = not important // * DOWN -> UP = important // MAINTENANCE -> MAINTENANCE = not important - // MAINTENANCE -> UP = not important + // * MAINTENANCE -> UP = important // * MAINTENANCE -> DOWN = important - // DOWN -> MAINTENANCE = not important - // UP -> MAINTENANCE = not important + // * DOWN -> MAINTENANCE = important + // * UP -> MAINTENANCE = important return isFirstBeat || (previousBeatStatus === MAINTENANCE && currentBeatStatus === DOWN) || (previousBeatStatus === MAINTENANCE && currentBeatStatus === UP) ||