aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/ducks
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/ducks')
-rw-r--r--web/src/js/ducks/ui.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/js/ducks/ui.js b/web/src/js/ducks/ui.js
index f8234fdb..4de460aa 100644
--- a/web/src/js/ducks/ui.js
+++ b/web/src/js/ducks/ui.js
@@ -13,8 +13,8 @@ export default function reducer(state = defaultState, action) {
activeMenu: action.activeMenu
}
case SELECT:
- let isNewSelect = (action.flowId && !action.currentSelection)
- let isDeselect = (!action.flowId && action.currentSelection)
+ let isNewSelect = (action.id && !action.currentSelection)
+ let isDeselect = (!action.id && action.currentSelection)
if(isNewSelect) {
return {
...state,