Browse Source

fix: show beat.msg only if available

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

2
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}` : ``);
}
},
}

Loading…
Cancel
Save