diff options
author | 2018-11-27 18:06:14 +0100 | |
---|---|---|
committer | 2018-11-27 18:06:14 +0100 | |
commit | 62972747866740dae84fc7b519fcedd731572329 (patch) | |
tree | 3a74610caa47350ff6b3cc07482f8472f18c1764 /src/models/Service.js | |
parent | Fix listening key (diff) | |
download | ferdium-app-62972747866740dae84fc7b519fcedd731572329.tar.gz ferdium-app-62972747866740dae84fc7b519fcedd731572329.tar.zst ferdium-app-62972747866740dae84fc7b519fcedd731572329.zip |
feat(App): Add proxy support for services
Diffstat (limited to 'src/models/Service.js')
-rw-r--r-- | src/models/Service.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/models/Service.js b/src/models/Service.js index d04b34b7e..41180dd76 100644 --- a/src/models/Service.js +++ b/src/models/Service.js | |||
@@ -30,10 +30,6 @@ export default class Service { | |||
30 | @observable hasCrashed = false; | 30 | @observable hasCrashed = false; |
31 | @observable isDarkModeEnabled = false; | 31 | @observable isDarkModeEnabled = false; |
32 | 32 | ||
33 | // @observable proxy = { | ||
34 | // isEnabled: false, | ||
35 | // }; | ||
36 | |||
37 | constructor(data, recipe) { | 33 | constructor(data, recipe) { |
38 | if (!data) { | 34 | if (!data) { |
39 | console.error('Service config not valid'); | 35 | console.error('Service config not valid'); |
@@ -73,6 +69,8 @@ export default class Service { | |||
73 | 69 | ||
74 | this.hasCustomUploadedIcon = data.hasCustomIcon !== undefined ? data.hasCustomIcon : this.hasCustomUploadedIcon; | 70 | this.hasCustomUploadedIcon = data.hasCustomIcon !== undefined ? data.hasCustomIcon : this.hasCustomUploadedIcon; |
75 | 71 | ||
72 | this.proxy = data.proxy !== undefined ? data.proxy : this.proxy; | ||
73 | |||
76 | this.recipe = recipe; | 74 | this.recipe = recipe; |
77 | 75 | ||
78 | autorun(() => { | 76 | autorun(() => { |