diff options
author | Alystrasz <contact@remyraes.com> | 2022-09-29 21:48:03 +0200 |
---|---|---|
committer | Alystrasz <contact@remyraes.com> | 2022-09-29 21:48:03 +0200 |
commit | e59529af2dfe8d51a10412dbc108f77c1af87053 (patch) | |
tree | c14519d543e733fb1b078f85a3bcb1bbb9dc2c20 | |
parent | 461b3507a5415723415852a410d4c32152acdaff (diff) | |
download | FlightCore-e59529af2dfe8d51a10412dbc108f77c1af87053.tar.gz FlightCore-e59529af2dfe8d51a10412dbc108f77c1af87053.zip |
fix: add missing northstarIsRunning computed attribute to PlayButton component
-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 { |