From 581663761d44d91bf00a96956823b92d354d2bf1 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Mon, 2 Mar 2020 10:05:58 +0100 Subject: Run linter --- src/stores/SettingsStore.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/stores') diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index 26e83b725..71d4e1702 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js @@ -1,5 +1,7 @@ import { ipcRenderer, remote } from 'electron'; -import { action, computed, observable, reaction } from 'mobx'; +import { + action, computed, observable, reaction, +} from 'mobx'; import localStorage from 'mobx-localstorage'; import { DEFAULT_APP_SETTINGS, FILE_SYSTEM_SETTINGS_TYPES, LOCAL_SERVER } from '../config'; import { API } from '../environment'; @@ -12,6 +14,7 @@ const debug = require('debug')('Ferdi:SettingsStore'); export default class SettingsStore extends Store { @observable updateAppSettingsRequest = new Request(this.api.local, 'updateAppSettings'); + startup = true; fileSystemSettingsTypes = FILE_SYSTEM_SETTINGS_TYPES; @@ -103,7 +106,7 @@ export default class SettingsStore extends Store { // So we lock manually window.ferdi.stores.router.push('/auth/locked'); } - }) + }); } debug('Get appSettings resolves', resp.type, resp.data); Object.assign(this._fileSystemSettingsCache[resp.type], resp.data); -- cgit v1.2.3-70-g09d2