fix: show beat.msg only if available

pull/769/head
Andreas Brett 3 years ago
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…
Cancel
Save