throttle push config + cleanup excessive calls

This commit is contained in:
Henry Jameson 2026-03-16 18:34:34 +02:00
commit c4c4f3bae7
2 changed files with 22 additions and 21 deletions

View file

@ -350,7 +350,6 @@ export const useInterfaceStore = defineStore('interface', {
path: 'simple.styleCustomData',
value: null,
})
useSyncConfigStore().pushSyncConfig()
},
resetThemeV3Palette() {
useSyncConfigStore().setPreference({
@ -361,7 +360,6 @@ export const useInterfaceStore = defineStore('interface', {
path: 'simple.paletteCustomData',
value: null,
})
useSyncConfigStore().pushSyncConfig()
},
resetThemeV2() {
useSyncConfigStore().setPreference({ path: 'simple.theme', value: null })
@ -373,7 +371,6 @@ export const useInterfaceStore = defineStore('interface', {
path: 'simple.customThemeSource',
value: null,
})
useSyncConfigStore().pushSyncConfig()
},
async getThemeData() {
const getData = async (resource, index, customData, name) => {