From 587dc9d9d850f213896c54adda7b04a00f6ef4c4 Mon Sep 17 00:00:00 2001 From: Riccardo Crippa Date: Sat, 3 May 2025 11:53:14 +0200 Subject: [PATCH] change Maintenance notification text. --- server/model/monitor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 8a58caee4..6800e1b90 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -1271,6 +1271,7 @@ 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 +1292,7 @@ class Monitor extends BeanModel { } else if (bean.status === DOWN) { text = "🔴 Down"; } else if (bean.status === MAINTENANCE) { - text = "🔵 Maintenance"; + text = "Under Maintenance"; } let msg = `[${monitor.name}] [${text}] ${bean.msg}`;