update isImportantForNotification comment.

This commit is contained in:
Riccardo Crippa 2025-04-29 15:32:33 +02:00
parent 8fe8bd3810
commit ab0ae90b54

View file

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