Merge pull request #769 from andreasbrett/patch-5

show beat.msg only if available
pull/705/head
Louis Lam 3 years ago committed by GitHub
commit 8a481a1be0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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