diff options
author | Clemens Brunner <cle1000.cb@gmail.com> | 2016-07-12 23:52:33 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-07-12 14:52:33 -0700 |
commit | 2624911d75670afaff8631943d567bfa2b42d7b8 (patch) | |
tree | 2d134adae3d561e2084deaee17c81a64e44cbaf4 /web/src/js/ducks | |
parent | 3579c6dd43529595ce1a37d96f19a446419c6ee5 (diff) | |
download | mitmproxy-2624911d75670afaff8631943d567bfa2b42d7b8.tar.gz mitmproxy-2624911d75670afaff8631943d567bfa2b42d7b8.tar.bz2 mitmproxy-2624911d75670afaff8631943d567bfa2b42d7b8.zip |
fixed bug (#1342)
fix minor mitmweb issues
Diffstat (limited to 'web/src/js/ducks')
-rw-r--r-- | web/src/js/ducks/ui.js | 4 |
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, |