Revert "change Maintenance notification text."

This reverts commit 9cbbed4bbe.
This commit is contained in:
Riccardo Crippa 2025-05-05 07:44:03 +02:00
parent 9cbbed4bbe
commit 483477389c

View file

@ -1270,7 +1270,6 @@ class Monitor extends BeanModel {
(previousBeatStatus === DOWN && currentBeatStatus === MAINTENANCE) ||
(previousBeatStatus === UP && currentBeatStatus === DOWN) ||
(previousBeatStatus === DOWN && currentBeatStatus === UP) ||
(previousBeatStatus === PENDING && currentBeatStatus === MAINTENANCE) ||
(previousBeatStatus === PENDING && currentBeatStatus === DOWN);
}
@ -1291,7 +1290,7 @@ class Monitor extends BeanModel {
} else if (bean.status === DOWN) {
text = "🔴 Down";
} else if (bean.status === MAINTENANCE) {
text = "Under Maintenance";
text = "🔵 Maintenance";
}
let msg = `[${monitor.name}] [${text}] ${bean.msg}`;