aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/ducks/ui.js
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-06-28 23:16:18 -0700
committerGitHub <noreply@github.com>2016-06-28 23:16:18 -0700
commitb7430c0775fd14df779b6d0a27f189d3bfbd8194 (patch)
tree2b1db1801c7de989080a06bd886a680d304c88e9 /web/src/js/ducks/ui.js
parent3b53d3e393f30879420b4407583c42bb1f51563e (diff)
parent37c2b47c26dea9b143b2720761cdce21dafd3884 (diff)
downloadmitmproxy-b7430c0775fd14df779b6d0a27f189d3bfbd8194.tar.gz
mitmproxy-b7430c0775fd14df779b6d0a27f189d3bfbd8194.tar.bz2
mitmproxy-b7430c0775fd14df779b6d0a27f189d3bfbd8194.zip
Merge pull request #1296 from gzzhanghao/test
[web] add tests for ducks/utils
Diffstat (limited to 'web/src/js/ducks/ui.js')
-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 c17e042b..f8234fdb 100644
--- a/web/src/js/ducks/ui.js
+++ b/web/src/js/ducks/ui.js
@@ -1,4 +1,4 @@
-import {SELECT_FLOW} from "./flows"
+import {SELECT} from "./views/main"
export const SET_ACTIVE_MENU = 'SET_ACTIVE_MENU';
@@ -12,7 +12,7 @@ export default function reducer(state = defaultState, action) {
...state,
activeMenu: action.activeMenu
}
- case SELECT_FLOW:
+ case SELECT:
let isNewSelect = (action.flowId && !action.currentSelection)
let isDeselect = (!action.flowId && action.currentSelection)
if(isNewSelect) {