From b4531b34ca5232aadfa2cebaa1c26c66fbaea4cd Mon Sep 17 00:00:00 2001 From: Alystrasz Date: Mon, 26 Sep 2022 23:25:23 +0200 Subject: fix: do not display "see patch notes" link with unknown Northstar version --- src-vue/src/views/PlayView.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src-vue/src/views') diff --git a/src-vue/src/views/PlayView.vue b/src-vue/src/views/PlayView.vue index af891b5c..02d59b15 100644 --- a/src-vue/src/views/PlayView.vue +++ b/src-vue/src/views/PlayView.vue @@ -11,6 +11,9 @@ export default { computed: { northstarIsRunning(): boolean { return this.$store.state.northstar_is_running; + }, + northstarVersion(): string { + return this.$store.state.installed_northstar_version; } }, methods: { @@ -44,9 +47,9 @@ export default {
Northstar
- v{{ $store.state.installed_northstar_version }} + {{ northstarVersion === '' ? 'Unknown version' : `v${northstarVersion}` }}
- -- cgit v1.2.3