diff options
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/AppStore.ts | 6 | ||||
-rw-r--r-- | src/stores/ServicesStore.ts | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/stores/AppStore.ts b/src/stores/AppStore.ts index df8c17c01..9af0a9a4f 100644 --- a/src/stores/AppStore.ts +++ b/src/stores/AppStore.ts | |||
@@ -49,8 +49,8 @@ const mainWindow = getCurrentWindow(); | |||
49 | const executablePath = isMac | 49 | const executablePath = isMac |
50 | ? remoteProcess.execPath | 50 | ? remoteProcess.execPath |
51 | : isWinPortable | 51 | : isWinPortable |
52 | ? process.env.PORTABLE_EXECUTABLE_FILE | 52 | ? process.env.PORTABLE_EXECUTABLE_FILE |
53 | : process.execPath; | 53 | : process.execPath; |
54 | const autoLauncher = new AutoLaunch({ | 54 | const autoLauncher = new AutoLaunch({ |
55 | name: 'Ferdium', | 55 | name: 'Ferdium', |
56 | path: executablePath, | 56 | path: executablePath, |
@@ -128,7 +128,7 @@ export default class AppStore extends TypedStore { | |||
128 | 128 | ||
129 | dictionaries = []; | 129 | dictionaries = []; |
130 | 130 | ||
131 | fetchDataInterval: null | NodeJS.Timer = null; | 131 | fetchDataInterval: NodeJS.Timeout | null = null; |
132 | 132 | ||
133 | @observable downloads: Download[] = []; | 133 | @observable downloads: Download[] = []; |
134 | 134 | ||
diff --git a/src/stores/ServicesStore.ts b/src/stores/ServicesStore.ts index 9c0072586..95aae6ccb 100644 --- a/src/stores/ServicesStore.ts +++ b/src/stores/ServicesStore.ts | |||
@@ -966,7 +966,8 @@ export default class ServicesStore extends TypedStore { | |||
966 | service.lostRecipeConnection = false; | 966 | service.lostRecipeConnection = false; |
967 | 967 | ||
968 | if (service.isTodosService) { | 968 | if (service.isTodosService) { |
969 | return this.actions.todos.reload(); | 969 | this.actions.todos.reload(); |
970 | return; | ||
970 | } | 971 | } |
971 | 972 | ||
972 | if (!service.webview) return; | 973 | if (!service.webview) return; |