diff options
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(() => { |