update isImportantForNotification comment.

This commit is contained in:
Riccardo Crippa 2025-04-29 15:32:33 +02:00
parent 459d34c6bc
commit 4b2978dfb0

View file

@ -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) ||