From ab0ae90b540a537072298ae235c51a08c4622a04 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 937581eec..732543bf7 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -1260,10 +1260,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) ||