diff options
-rw-r--r-- | src-vue/src/plugins/store.ts | 2 | ||||
-rw-r--r-- | src-vue/src/views/SettingsView.vue | 1 |
2 files changed, 1 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]; diff --git a/src-vue/src/views/SettingsView.vue b/src-vue/src/views/SettingsView.vue index 88a5d588..0baf9517 100644 --- a/src-vue/src/views/SettingsView.vue +++ b/src-vue/src/views/SettingsView.vue @@ -260,6 +260,7 @@ export default defineComponent({ }, mounted() { document.querySelector('input')!.disabled = true; + this.$store.commit('fetchProfiles'); }, unmounted() { if (('' + this.modsPerPage) === '') { |