diff options
Diffstat (limited to 'src/features/todos/store.js')
-rw-r--r-- | src/features/todos/store.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/features/todos/store.js b/src/features/todos/store.js index aebe0dcbe..ea05077ab 100644 --- a/src/features/todos/store.js +++ b/src/features/todos/store.js | |||
@@ -29,10 +29,13 @@ export default class TodoStore extends FeatureStore { | |||
29 | return width < TODOS_MIN_WIDTH ? TODOS_MIN_WIDTH : width; | 29 | return width < TODOS_MIN_WIDTH ? TODOS_MIN_WIDTH : width; |
30 | } | 30 | } |
31 | 31 | ||
32 | @computed get isTodosPanelForceHidden() { | ||
33 | const { isAnnouncementShown } = this.stores.announcements; | ||
34 | return delayAppState.isDelayAppScreenVisible || isAnnouncementShown; | ||
35 | } | ||
36 | |||
32 | @computed get isTodosPanelVisible() { | 37 | @computed get isTodosPanelVisible() { |
33 | if (delayAppState.isDelayAppScreenVisible) return false; | ||
34 | if (this.settings.isTodosPanelVisible === undefined) return DEFAULT_TODOS_VISIBLE; | 38 | if (this.settings.isTodosPanelVisible === undefined) return DEFAULT_TODOS_VISIBLE; |
35 | |||
36 | return this.settings.isTodosPanelVisible; | 39 | return this.settings.isTodosPanelVisible; |
37 | } | 40 | } |
38 | 41 | ||