aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/plugins/store.ts
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2023-10-09 15:11:15 +0200
committerGitHub <noreply@github.com>2023-10-09 15:11:15 +0200
commitcb2bc0dc7acd518bb5fb0f1d4cf09e15d360453d (patch)
tree16ada730dad66672c26b307786d5223da1839a49 /src-vue/src/plugins/store.ts
parent0fb3a6118e8602c20d7ca89e9e932a436f0ab29d (diff)
downloadFlightCore-cb2bc0dc7acd518bb5fb0f1d4cf09e15d360453d.tar.gz
FlightCore-cb2bc0dc7acd518bb5fb0f1d4cf09e15d360453d.zip
fix: Refetch profiles when opening SettingsView (#498)
Refetches profiles every time we open the SettingsView. Removes superfluous profile fetch on application launch.
Diffstat (limited to 'src-vue/src/plugins/store.ts')
-rw-r--r--src-vue/src/plugins/store.ts2
1 files changed, 0 insertions, 2 deletions
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];