pass 2
This commit is contained in:
parent
6124d9c04c
commit
2e53707324
20 changed files with 115 additions and 99 deletions
|
|
@ -10,7 +10,7 @@ const simpleDeclaration = {
|
|||
store: 'server-side',
|
||||
migrationFlag: 'configMigration',
|
||||
migration(serverside, rootState) {
|
||||
serverside.setPreference({ path: 'simple.' + field, value: rootState.config[oldField ?? field] })
|
||||
serverside.setSimplePrefAndSave({ path: field, value: rootState.config[oldField ?? field] })
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -725,7 +725,7 @@ const users = {
|
|||
Object.keys(
|
||||
useSyncConfigStore().prefsStorage.simple.muteFilters
|
||||
).forEach(key => {
|
||||
useSyncConfigStore().unsetPreference({ path: 'simple.muteFilters.' + key, value: null })
|
||||
useSyncConfigStore().unsetSimplePrefAndSave({ path: 'muteFilters.' + key, value: null })
|
||||
})
|
||||
|
||||
// Reset flag to 0 to re-run migrations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue