diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-07-19 03:13:39 -0700 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-07-19 03:13:39 -0700 |
commit | f356a84430f6606b2d7157eefd8e4a100fdd5dfb (patch) | |
tree | 038ccf7a15ce49d654e0b03ce73ba226d32c40f9 /web/src/js/components/Header/FlowMenu.jsx | |
parent | 4ea6e61ea8ba57895451a9f76ec2c5e3c02829f3 (diff) | |
download | mitmproxy-f356a84430f6606b2d7157eefd8e4a100fdd5dfb.tar.gz mitmproxy-f356a84430f6606b2d7157eefd8e4a100fdd5dfb.tar.bz2 mitmproxy-f356a84430f6606b2d7157eefd8e4a100fdd5dfb.zip |
simplify web ui ducks
Diffstat (limited to 'web/src/js/components/Header/FlowMenu.jsx')
-rw-r--r-- | web/src/js/components/Header/FlowMenu.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/components/Header/FlowMenu.jsx b/web/src/js/components/Header/FlowMenu.jsx index 9855cde3..bdd30d5e 100644 --- a/web/src/js/components/Header/FlowMenu.jsx +++ b/web/src/js/components/Header/FlowMenu.jsx @@ -29,7 +29,7 @@ function FlowMenu({ flow, acceptFlow, replayFlow, duplicateFlow, removeFlow, rev export default connect( state => ({ - flow: state.flows.list.byId[state.flows.views.main.selected[0]], + flow: state.flows.byId[state.flows.selected[0]], }), { acceptFlow: flowsActions.accept, |