aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src
diff options
context:
space:
mode:
authorAlystrasz <contact@remyraes.com>2022-09-29 21:48:03 +0200
committerAlystrasz <contact@remyraes.com>2022-09-29 21:48:03 +0200
commite59529af2dfe8d51a10412dbc108f77c1af87053 (patch)
treec14519d543e733fb1b078f85a3bcb1bbb9dc2c20 /src-vue/src
parent461b3507a5415723415852a410d4c32152acdaff (diff)
downloadFlightCore-e59529af2dfe8d51a10412dbc108f77c1af87053.tar.gz
FlightCore-e59529af2dfe8d51a10412dbc108f77c1af87053.zip
fix: add missing northstarIsRunning computed attribute to PlayButton component
Diffstat (limited to 'src-vue/src')
-rw-r--r--src-vue/src/components/PlayButton.vue4
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 {