mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
fix: show beat.msg only if available
This commit is contained in:
parent
c6fc385289
commit
657987a013
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue