mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-01 11:22:34 +02:00
update maintenance icon on notification.
This commit is contained in:
parent
78aa4d58d2
commit
8fe8bd3810
1 changed files with 1 additions and 1 deletions
|
@ -1291,7 +1291,7 @@ class Monitor extends BeanModel {
|
||||||
} else if(bean.status === DOWN) {
|
} else if(bean.status === DOWN) {
|
||||||
text = "🔴 Down";
|
text = "🔴 Down";
|
||||||
} else if(bean.status === MAINTENANCE) {
|
} else if(bean.status === MAINTENANCE) {
|
||||||
text = "🔴 Maintenance";
|
text = "🟦 Maintenance";
|
||||||
}
|
}
|
||||||
|
|
||||||
let msg = `[${monitor.name}] [${text}] ${bean.msg}`;
|
let msg = `[${monitor.name}] [${text}] ${bean.msg}`;
|
||||||
|
|
Loading…
Add table
Reference in a new issue