diff options
author | Jan <sentrycraft123@gmail.com> | 2023-10-09 15:11:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-09 15:11:15 +0200 |
commit | cb2bc0dc7acd518bb5fb0f1d4cf09e15d360453d (patch) | |
tree | 16ada730dad66672c26b307786d5223da1839a49 /src-vue/src/views | |
parent | 0fb3a6118e8602c20d7ca89e9e932a436f0ab29d (diff) | |
download | FlightCore-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/views')
-rw-r--r-- | src-vue/src/views/SettingsView.vue | 1 |
1 files changed, 1 insertions, 0 deletions
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) === '') { |