mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-01 11:22:34 +02:00
update isImportantForNotification comment.
This commit is contained in:
parent
8fe8bd3810
commit
ab0ae90b54
1 changed files with 3 additions and 3 deletions
|
@ -1260,10 +1260,10 @@ class Monitor extends BeanModel {
|
||||||
// DOWN -> DOWN = not important
|
// DOWN -> DOWN = not important
|
||||||
// * DOWN -> UP = important
|
// * DOWN -> UP = important
|
||||||
// MAINTENANCE -> MAINTENANCE = not important
|
// MAINTENANCE -> MAINTENANCE = not important
|
||||||
// MAINTENANCE -> UP = not important
|
// * MAINTENANCE -> UP = important
|
||||||
// * MAINTENANCE -> DOWN = important
|
// * MAINTENANCE -> DOWN = important
|
||||||
// DOWN -> MAINTENANCE = not important
|
// * DOWN -> MAINTENANCE = important
|
||||||
// UP -> MAINTENANCE = not important
|
// * UP -> MAINTENANCE = important
|
||||||
return isFirstBeat ||
|
return isFirstBeat ||
|
||||||
(previousBeatStatus === MAINTENANCE && currentBeatStatus === DOWN) ||
|
(previousBeatStatus === MAINTENANCE && currentBeatStatus === DOWN) ||
|
||||||
(previousBeatStatus === MAINTENANCE && currentBeatStatus === UP) ||
|
(previousBeatStatus === MAINTENANCE && currentBeatStatus === UP) ||
|
||||||
|
|
Loading…
Add table
Reference in a new issue