diff options
author | Amine <amine@mouafik.fr> | 2020-03-31 14:09:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 14:09:05 +0100 |
commit | 899d2bf551e111bdc68608dba02e93782eec9f85 (patch) | |
tree | 2ead7fcc3a8f08d74af186931267e9021d21812e /src/stores/SettingsStore.js | |
parent | Retry flaky commands on AppVeyor (#526) (diff) | |
download | ferdium-app-899d2bf551e111bdc68608dba02e93782eec9f85.tar.gz ferdium-app-899d2bf551e111bdc68608dba02e93782eec9f85.tar.zst ferdium-app-899d2bf551e111bdc68608dba02e93782eec9f85.zip |
* add condition if on todo options
* add drop down for todo server
* fix error TODOS_FRONTEND
* add todo list apps'
* update name of dropdown menu to Todo Service
* add other service to dropdown menu and subsetting field for user to input url
* add Other Service to drop down
* fixed typos
* reverted wording
* fix custom field
* fix linting
* fix linting
* Delete tsconfig.tsbuildinfo
* Delete tsconfig.tsbuildinfo
* Delete tsconfig.tsbuildinfo
* Add regex to validate custom todo url
* Add note with source of regex function
* Move regex function declaration to function body root
* Apply code style
* Add migration for todo settings
* Apply code style
Co-authored-by: romain <romain@jumboprivacy.com>
Co-authored-by: Roman <46404814+yourcontact@users.noreply.github.com>
Co-authored-by: romain <rpsa@pm.me>
Diffstat (limited to 'src/stores/SettingsStore.js')
-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 | } |