From cb2bc0dc7acd518bb5fb0f1d4cf09e15d360453d Mon Sep 17 00:00:00 2001 From: Jan Date: Mon, 9 Oct 2023 15:11:15 +0200 Subject: fix: Refetch profiles when opening SettingsView (#498) Refetches profiles every time we open the SettingsView. Removes superfluous profile fetch on application launch. --- src-vue/src/plugins/store.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src-vue/src/plugins') diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts index 0a3b3e21..f0e86613 100644 --- a/src-vue/src/plugins/store.ts +++ b/src-vue/src/plugins/store.ts @@ -444,8 +444,6 @@ async function _initializeApp(state: any) { await _get_northstar_version_number(state); } - store.commit('fetchProfiles'); - await invoke<[number, number]>("get_server_player_count") .then((message) => { state.player_count = message[0]; -- cgit v1.2.3