diff --git a/src/components/settings_modal/tabs/general_tab.js b/src/components/settings_modal/tabs/general_tab.js index 763a588d..be813b3d 100644 --- a/src/components/settings_modal/tabs/general_tab.js +++ b/src/components/settings_modal/tabs/general_tab.js @@ -98,7 +98,6 @@ const GeneralTab = { get: function () { return this.$store.getters.mergedConfig.profile }, set: function (val) { this.$store.dispatch('setOption', { name: 'profile', value: val }) - this.$store.dispatch('getSettingsProfile') } }, settingsVersion () { @@ -132,12 +131,10 @@ const GeneralTab = { }, loadSettingsProfile (name) { this.$store.commit('setOption', { name: 'profile', value: name }) - this.$store.dispatch('getSettingsProfile', true) }, createSettingsProfile () { this.$store.dispatch('setOption', { name: 'profile', value: this.newProfileName }) this.$store.dispatch('setOption', { name: 'profileVersion', value: 1 }) - this.$store.dispatch('syncSettings') this.newProfileName = '' }, forceSync () { diff --git a/src/modules/config.js b/src/modules/config.js index 3ffb555d..ca50e4ff 100644 --- a/src/modules/config.js +++ b/src/modules/config.js @@ -215,9 +215,6 @@ const config = { }, setOption ({ commit, dispatch }, { name, value, manual }) { commit('setOption', { name, value }) - if (manual === true) { - dispatch('syncSettings') - } switch (name) { case 'theme': setPreset(value) diff --git a/src/modules/users.js b/src/modules/users.js index 6968ce1e..d81156b6 100644 --- a/src/modules/users.js +++ b/src/modules/users.js @@ -670,9 +670,6 @@ const users = { store.dispatch('setLayoutWidth', windowWidth()) store.dispatch('setLayoutHeight', windowHeight()) store.dispatch('getSupportedTranslationlanguages') - store.dispatch('getSettingsProfile') - store.dispatch('listSettingsProfiles') - store.dispatch('startFetchingConfig') store.dispatch('startFetchingAnnouncements') if (user.role === 'admin' || user.role === 'moderator') { store.dispatch('startFetchingReports')