throttle push config + cleanup excessive calls
This commit is contained in:
parent
55fdb8687a
commit
c4c4f3bae7
2 changed files with 22 additions and 21 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue