From b09138a7f97559f2c59d240f882f16ec08d4934c Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Mon, 3 Oct 2022 01:58:23 +0200 Subject: fix: Do not show install button if TF|2 not found Instead show a button saying that Titanfall2 was not found --- src-vue/src/plugins/store.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src-vue/src/plugins') diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts index ddd46e53..5087221b 100644 --- a/src-vue/src/plugins/store.ts +++ b/src-vue/src/plugins/store.ts @@ -32,7 +32,7 @@ export const store = createStore({ install_type: undefined, installed_northstar_version: "", - northstar_state: NorthstarState.INSTALL, + northstar_state: NorthstarState.GAME_NOT_FOUND, release_canal: ReleaseCanal.RELEASE, northstar_is_running: false, @@ -190,4 +190,7 @@ async function _get_northstar_version_number(state: any) { alert(error); }); } + else { + state.northstar_state = NorthstarState.INSTALL; + } } -- cgit v1.2.3