diff --git a/src/components/HeartbeatBar.vue b/src/components/HeartbeatBar.vue index e62b95dfb..be0b122ed 100644 --- a/src/components/HeartbeatBar.vue +++ b/src/components/HeartbeatBar.vue @@ -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}` : ``); } }, }