diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-12-02 00:56:00 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-12-02 00:56:00 +0100 |
commit | 3b25c3feee139229cf4c590f3ce1bb99f3288bd2 (patch) | |
tree | b5333b2b8274a84f90d15da074e8e8ba4f9ee256 /src/features/serviceProxy/index.js | |
parent | Check if service is enabled before trying to reload (diff) | |
download | ferdium-app-3b25c3feee139229cf4c590f3ce1bb99f3288bd2.tar.gz ferdium-app-3b25c3feee139229cf4c590f3ce1bb99f3288bd2.tar.zst ferdium-app-3b25c3feee139229cf4c590f3ce1bb99f3288bd2.zip |
Fix linting issues
Diffstat (limited to 'src/features/serviceProxy/index.js')
-rw-r--r-- | src/features/serviceProxy/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/serviceProxy/index.js b/src/features/serviceProxy/index.js index 5a74685a4..cad9844fd 100644 --- a/src/features/serviceProxy/index.js +++ b/src/features/serviceProxy/index.js | |||
@@ -1,4 +1,4 @@ | |||
1 | import { autorun, reaction, observable } from 'mobx'; | 1 | import { autorun, observable } from 'mobx'; |
2 | import { remote } from 'electron'; | 2 | import { remote } from 'electron'; |
3 | 3 | ||
4 | import { DEFAULT_FEATURES_CONFIG } from '../../config'; | 4 | import { DEFAULT_FEATURES_CONFIG } from '../../config'; |
@@ -30,7 +30,7 @@ export default function init(stores) { | |||
30 | 30 | ||
31 | if (config.isEnabled && (isPremiumUser || !config.isPremium)) { | 31 | if (config.isEnabled && (isPremiumUser || !config.isPremium)) { |
32 | const serviceProxyConfig = stores.settings.proxy[service.id]; | 32 | const serviceProxyConfig = stores.settings.proxy[service.id]; |
33 | 33 | ||
34 | if (serviceProxyConfig && serviceProxyConfig.isEnabled && serviceProxyConfig.host) { | 34 | if (serviceProxyConfig && serviceProxyConfig.isEnabled && serviceProxyConfig.host) { |
35 | proxyHost = serviceProxyConfig.host; | 35 | proxyHost = serviceProxyConfig.host; |
36 | } | 36 | } |