mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-24 16:10:47 -06:00
fix: show beat.msg only if available
This commit is contained in:
parent
c6fc385289
commit
657987a013
@ -167,7 +167,7 @@ export default {
|
||||
},
|
||||
|
||||
getBeatTitle(beat) {
|
||||
return `${this.$root.datetime(beat.time)} - ${beat.msg}`;
|
||||
return `${this.$root.datetime(beat.time)}` + ((beat.msg) ? ` - ${beat.msg}` : ``);
|
||||
}
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user