Fix migration issue

This commit is contained in:
Zhiyuan Zheng 2021-11-27 18:49:14 +01:00
parent 0c28ea6b0c
commit e2a5235ccb
1 changed files with 5 additions and 3 deletions

View File

@ -49,9 +49,11 @@ const instancesMigration = {
}
},
6: (state: InstanceV5) => {
return state.instances.map(instance => {
return { ...instance, configuration: undefined }
})
return {
instances: state.instances.map(instance => {
return { ...instance, configuration: undefined }
})
}
}
}