diff options
author | 2019-09-06 14:20:23 +0200 | |
---|---|---|
committer | 2019-09-06 14:20:23 +0200 | |
commit | cbb98ff312ac9e85bdbbc3671510748b3f42b127 (patch) | |
tree | 7fa008b3471b4ce9d5179e86f4926f975913b9cd /src/features | |
parent | Add route listener to open todos via `/todos` (diff) | |
download | ferdium-app-cbb98ff312ac9e85bdbbc3671510748b3f42b127.tar.gz ferdium-app-cbb98ff312ac9e85bdbbc3671510748b3f42b127.tar.zst ferdium-app-cbb98ff312ac9e85bdbbc3671510748b3f42b127.zip |
reset todo route
Diffstat (limited to 'src/features')
-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 5d67c5ba0..003c69a5b 100644 --- a/src/features/todos/store.js +++ b/src/features/todos/store.js | |||
@@ -186,6 +186,7 @@ export default class TodoStore extends FeatureStore { | |||
186 | if (pathname === TODOS_ROUTES.TARGET) { | 186 | if (pathname === TODOS_ROUTES.TARGET) { |
187 | debug('Router is on todos route, show todos panel'); | 187 | debug('Router is on todos route, show todos panel'); |
188 | // todosStore.start(stores, actions); | 188 | // todosStore.start(stores, actions); |
189 | this.stores.router.push('/'); | ||
189 | 190 | ||
190 | if (!this.isTodosPanelVisible) { | 191 | if (!this.isTodosPanelVisible) { |
191 | this._updateSettings({ | 192 | this._updateSettings({ |