diff options
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/SettingsStore.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index 71d4e1702..f83bc21ad 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js | |||
@@ -263,5 +263,24 @@ export default class SettingsStore extends Store { | |||
263 | }, | 263 | }, |
264 | }); | 264 | }); |
265 | } | 265 | } |
266 | |||
267 | if (!this.all.migration['5.4.4-beta.4-settings']) { | ||
268 | this.actions.settings.update({ | ||
269 | type: 'app', | ||
270 | data: { | ||
271 | todoServer: 'isUsingCustomTodoService', | ||
272 | customTodoServer: legacySettings.todoServer, | ||
273 | }, | ||
274 | }); | ||
275 | |||
276 | this.actions.settings.update({ | ||
277 | type: 'migration', | ||
278 | data: { | ||
279 | '5.4.4-beta.4-settings': true, | ||
280 | }, | ||
281 | }); | ||
282 | |||
283 | debug('Migrated old todo setting to new custom todo setting'); | ||
284 | } | ||
266 | } | 285 | } |
267 | } | 286 | } |