diff options
Diffstat (limited to 'src/stores/SettingsStore.js')
-rw-r--r-- | src/stores/SettingsStore.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index 4c01e9910..e2211aec6 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js | |||
@@ -57,6 +57,21 @@ export default class SettingsStore extends Store { | |||
57 | } | 57 | } |
58 | 58 | ||
59 | @computed get proxy() { | 59 | @computed get proxy() { |
60 | // // We need to provide the final data structure as mobx autoruns won't work | ||
61 | // const proxySettings = observable({}); | ||
62 | // this.stores.services.all.forEach((service) => { | ||
63 | // proxySettings[service.id] = { | ||
64 | // isEnabled: false, | ||
65 | // host: null, | ||
66 | // user: null, | ||
67 | // password: null, | ||
68 | // }; | ||
69 | // }); | ||
70 | |||
71 | // debug('this._fileSystemSettingsCache.proxy', this._fileSystemSettingsCache.proxy, proxySettings); | ||
72 | |||
73 | // return Object.assign(proxySettings, this._fileSystemSettingsCache.proxy); | ||
74 | |||
60 | return this._fileSystemSettingsCache.proxy || {}; | 75 | return this._fileSystemSettingsCache.proxy || {}; |
61 | } | 76 | } |
62 | 77 | ||