aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-12-26 13:52:50 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2017-12-26 13:52:50 +0100
commitfa73612e38ccfab17bc7c39f8b92153903a7ca83 (patch)
treedb32c80c97caa6d4f83d8143f140ee7f15d3e5bb /src/stores
parentFix linting issue (diff)
downloadferdium-app-fa73612e38ccfab17bc7c39f8b92153903a7ca83.tar.gz
ferdium-app-fa73612e38ccfab17bc7c39f8b92153903a7ca83.tar.zst
ferdium-app-fa73612e38ccfab17bc7c39f8b92153903a7ca83.zip
Fix linting issues pt 2
Diffstat (limited to 'src/stores')
-rw-r--r--src/stores/AppStore.js10
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';
14import { gaEvent } from '../lib/analytics'; 14import { gaEvent } from '../lib/analytics';
15import Miner from '../lib/Miner'; 15import Miner from '../lib/Miner';
16 16
17const { app, powerMonitor } = remote; 17const { app } = remote;
18const defaultLocale = DEFAULT_APP_SETTINGS.locale; 18const defaultLocale = DEFAULT_APP_SETTINGS.locale;
19const autoLauncher = new AutoLaunch({ 19const 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() {