diff options
author | Stefan Malzner <stefan@adlk.io> | 2017-12-26 13:52:50 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2017-12-26 13:52:50 +0100 |
commit | fa73612e38ccfab17bc7c39f8b92153903a7ca83 (patch) | |
tree | db32c80c97caa6d4f83d8143f140ee7f15d3e5bb | |
parent | Fix linting issue (diff) | |
download | ferdium-app-fa73612e38ccfab17bc7c39f8b92153903a7ca83.tar.gz ferdium-app-fa73612e38ccfab17bc7c39f8b92153903a7ca83.tar.zst ferdium-app-fa73612e38ccfab17bc7c39f8b92153903a7ca83.zip |
Fix linting issues pt 2
-rw-r--r-- | src/stores/AppStore.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index ea51b537a..aa6e801ff 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -14,7 +14,7 @@ import locales from '../i18n/translations'; | |||
14 | import { gaEvent } from '../lib/analytics'; | 14 | import { gaEvent } from '../lib/analytics'; |
15 | import Miner from '../lib/Miner'; | 15 | import Miner from '../lib/Miner'; |
16 | 16 | ||
17 | const { app, powerMonitor } = remote; | 17 | const { app } = remote; |
18 | const defaultLocale = DEFAULT_APP_SETTINGS.locale; | 18 | const defaultLocale = DEFAULT_APP_SETTINGS.locale; |
19 | const autoLauncher = new AutoLaunch({ | 19 | const autoLauncher = new AutoLaunch({ |
20 | name: 'Franz', | 20 | name: 'Franz', |
@@ -368,11 +368,11 @@ export default class AppStore extends Store { | |||
368 | _reactivateServices(retryCount = 0) { | 368 | _reactivateServices(retryCount = 0) { |
369 | if (!this.isOnline) { | 369 | if (!this.isOnline) { |
370 | console.debug('reactivateServices: computer is offline, trying again in 5s, retries:', retryCount); | 370 | console.debug('reactivateServices: computer is offline, trying again in 5s, retries:', retryCount); |
371 | return setTimeout(() => this._reactivateServices(retryCount + 1), 5000); | 371 | setTimeout(() => this._reactivateServices(retryCount + 1), 5000); |
372 | } else { | ||
373 | console.debug('reactivateServices: reload all services'); | ||
374 | this.actions.service.reloadAll(); | ||
372 | } | 375 | } |
373 | |||
374 | console.debug('reactivateServices: reload all services'); | ||
375 | this.actions.service.reloadAll(); | ||
376 | } | 376 | } |
377 | 377 | ||
378 | _systemDND() { | 378 | _systemDND() { |