Browse Source
Merge pull request #769 from andreasbrett/patch-5
show beat.msg only if available
remotes/fdcastel/master
Louis Lam
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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}` : ``); |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|