mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-28 17:32:34 +02:00
update isImportantForNotification comment.
This commit is contained in:
parent
459d34c6bc
commit
4b2978dfb0
1 changed files with 3 additions and 3 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Add table
Reference in a new issue