diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-09-04 11:51:28 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-09-04 11:51:28 +0200 |
commit | 71544483caadbdd240f423e7660c242ef458a1d2 (patch) | |
tree | 4d0d6dc345fe3c19eb2b0f2fc340d29818e098de /src/features/todos/store.js | |
parent | Update en-US.json (diff) | |
download | ferdium-app-71544483caadbdd240f423e7660c242ef458a1d2.tar.gz ferdium-app-71544483caadbdd240f423e7660c242ef458a1d2.tar.zst ferdium-app-71544483caadbdd240f423e7660c242ef458a1d2.zip |
Add pre-launch notice
Diffstat (limited to 'src/features/todos/store.js')
-rw-r--r-- | src/features/todos/store.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/features/todos/store.js b/src/features/todos/store.js index acf95df0d..7da3b7f49 100644 --- a/src/features/todos/store.js +++ b/src/features/todos/store.js | |||
@@ -29,6 +29,7 @@ export default class TodoStore extends FeatureStore { | |||
29 | } | 29 | } |
30 | 30 | ||
31 | @computed get isTodosPanelVisible() { | 31 | @computed get isTodosPanelVisible() { |
32 | if (this.stores.services.all.length === 0) return false; | ||
32 | if (this.settings.isTodosPanelVisible === undefined) return DEFAULT_TODOS_VISIBLE; | 33 | if (this.settings.isTodosPanelVisible === undefined) return DEFAULT_TODOS_VISIBLE; |
33 | 34 | ||
34 | return this.settings.isTodosPanelVisible; | 35 | return this.settings.isTodosPanelVisible; |