From de13143e955e33b9429818eb76d0b500ec604de9 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 9 Apr 2026 23:40:55 +0300 Subject: [PATCH] fix collections journal getting filtered --- src/stores/sync_config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stores/sync_config.js b/src/stores/sync_config.js index 7a5b1f4e1..063595509 100644 --- a/src/stores/sync_config.js +++ b/src/stores/sync_config.js @@ -295,6 +295,8 @@ export const _mergePrefs = (recent, stale) => { const entry = path.split('.')[1] if (operation === 'unset') return ROOT_CONFIG[entry] !== undefined + if (operation !== 'set') return true + const definition = path.startsWith('simple.muteFilters') ? { default: {} } : ROOT_CONFIG_DEFINITIONS[entry] @@ -507,6 +509,8 @@ export const useSyncConfigStore = defineStore('sync_config', { ) } + if (path.startsWith('collections.')) return value + const definition = path.startsWith('simple.muteFilters') ? { default: {} } : ROOT_CONFIG_DEFINITIONS[path.split('.')[1]]