aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/SettingsStore.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2018-12-09 01:01:12 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2018-12-09 01:01:12 +0100
commitf01957203f77fce8b65d5e034a8acd68f1e0ae2e (patch)
tree2f8d0d232266cdc7ed74e1913b270527f46bb33d /src/stores/SettingsStore.js
parentAdd dark mode styles to content tabs (diff)
downloadferdium-app-f01957203f77fce8b65d5e034a8acd68f1e0ae2e.tar.gz
ferdium-app-f01957203f77fce8b65d5e034a8acd68f1e0ae2e.tar.zst
ferdium-app-f01957203f77fce8b65d5e034a8acd68f1e0ae2e.zip
Upgrade to react 16
TODO: add componentDidCatch
Diffstat (limited to 'src/stores/SettingsStore.js')
-rw-r--r--src/stores/SettingsStore.js15
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