diff --git a/src/stores/sync_config.js b/src/stores/sync_config.js index 05a47fa64..2551f5a38 100644 --- a/src/stores/sync_config.js +++ b/src/stores/sync_config.js @@ -579,6 +579,12 @@ export const useSyncConfigStore = defineStore('sync_config', { this[k] = blankState[k] }) }, + clearJournals() { + this.prefsStorage._journal = [] + this.cache.prefsStorage._journal = [] + this.raw.prefsStorage._journal = [] + this.pushSyncConfig() + }, setSyncConfig(userData) { const live = userData.storage this.raw = live