Browse Source

fix: show beat.msg only if available

pull/769/head
Andreas Brett 4 years ago
parent
commit
657987a013
  1. 2
      src/components/HeartbeatBar.vue

2
src/components/HeartbeatBar.vue

@ -167,7 +167,7 @@ export default {
}, },
getBeatTitle(beat) { getBeatTitle(beat) {
return `${this.$root.datetime(beat.time)} - ${beat.msg}`; return `${this.$root.datetime(beat.time)}` + ((beat.msg) ? ` - ${beat.msg}` : ``);
} }
}, },
} }

Loading…
Cancel
Save