fix collections journal getting filtered
This commit is contained in:
parent
c1d7d2fa63
commit
de13143e95
1 changed files with 4 additions and 0 deletions
|
|
@ -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]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue