fix collections journal getting filtered

This commit is contained in:
Henry Jameson 2026-04-09 23:40:55 +03:00
commit de13143e95

View file

@ -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]]