diff options
-rw-r--r-- | src-vue/src/components/PlayButton.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src-vue/src/components/PlayButton.vue b/src-vue/src/components/PlayButton.vue index dfac68e8..f465fb39 100644 --- a/src-vue/src/components/PlayButton.vue +++ b/src-vue/src/components/PlayButton.vue @@ -4,7 +4,6 @@ import { ReleaseCanal } from '../utils/ReleaseCanal'; export default { name: 'PlayButton', - data() {}, computed: { playButtonLabel(): string { if (this.$store.state.northstar_is_running) { @@ -27,6 +26,9 @@ export default { return ""; } }, + northstarIsRunning(): boolean { + return this.$store.state.northstar_is_running; + }, options(): {key: string, value: string}[] { return Object.keys(ReleaseCanal).map(function (v) { return { |