logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/
commit: f4483e1ee42adbce02e9da1cefbfd9cc003d0205
parent 454aa695ab067f0e94a344bb5110cda410d69001
Author: Henry Jameson <me@hjkos.com>
Date:   Thu, 14 Nov 2024 21:52:50 +0200

remove extraneous dispatches

Diffstat:

Msrc/components/settings_modal/tabs/appearance_tab.js12------------
1 file changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/components/settings_modal/tabs/appearance_tab.js b/src/components/settings_modal/tabs/appearance_tab.js @@ -293,33 +293,21 @@ const AppearanceTab = { return key === palette }, setStyle (name) { - this.$store.dispatch('resetThemeV2') this.$store.dispatch('setTheme', name) - this.$store.dispatch('applyTheme') }, setTheme (name) { - this.$store.dispatch('resetThemeV3') this.$store.dispatch('setTheme', name) - this.$store.dispatch('applyTheme') }, setPalette (name, data) { - this.$store.dispatch('resetThemeV2') this.$store.dispatch('setPalette', name) - this.$store.dispatch('applyTheme') this.userPalette = data }, setPaletteCustom (data) { - console.log('APPLY CUSTOM', data) - this.$store.dispatch('resetThemeV2') this.$store.dispatch('setPaletteCustom', data) - this.$store.dispatch('applyTheme') this.userPalette = data }, resetTheming (name) { - this.$store.dispatch('resetThemeV2') - this.$store.dispatch('resetThemeV3') this.$store.dispatch('setStyle', 'stock') - this.$store.dispatch('applyTheme') }, previewTheme (key, input) { let theme3