aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorClemens <cle1000.cb@gmail.com>2016-08-16 13:17:37 +0200
committerClemens <cle1000.cb@gmail.com>2016-08-16 13:17:37 +0200
commitdbec2e094009501ccb75c96ad9f8e936c3b406e3 (patch)
tree6f887325d8dda0ab19c96d81a3e3f2112e5f019d /web
parent779e5e84e37278b8f3255a1061f2137f5b6a3a7d (diff)
downloadmitmproxy-dbec2e094009501ccb75c96ad9f8e936c3b406e3.tar.gz
mitmproxy-dbec2e094009501ccb75c96ad9f8e936c3b406e3.tar.bz2
mitmproxy-dbec2e094009501ccb75c96ad9f8e936c3b406e3.zip
refactor flow menu
Diffstat (limited to 'web')
-rw-r--r--web/src/js/components/Header/FlowMenu.jsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/src/js/components/Header/FlowMenu.jsx b/web/src/js/components/Header/FlowMenu.jsx
index bdd30d5e..e78a49aa 100644
--- a/web/src/js/components/Header/FlowMenu.jsx
+++ b/web/src/js/components/Header/FlowMenu.jsx
@@ -8,10 +8,14 @@ FlowMenu.title = 'Flow'
FlowMenu.propTypes = {
flow: PropTypes.object.isRequired,
+ acceptFlow: PropTypes.func.isRequired,
+ replayFlow: PropTypes.func.isRequired,
+ duplicateFlow: PropTypes.func.isRequired,
+ removeFlow: PropTypes.func.isRequired,
+ revertFlow: PropTypes.func.isRequired
}
function FlowMenu({ flow, acceptFlow, replayFlow, duplicateFlow, removeFlow, revertFlow }) {
-
return (
<div>
<div className="menu-row">