aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/Header/FlowMenu.jsx
diff options
context:
space:
mode:
authorMatthew Shao <me@matshao.com>2017-08-08 21:57:42 +0800
committerMatthew Shao <me@matshao.com>2017-08-08 21:57:42 +0800
commit756b734ae294da09041303be52f9e9ced0b40d2d (patch)
tree4f1056796a5e6e3e016687d4ebdfcb63f38c74c3 /web/src/js/components/Header/FlowMenu.jsx
parent07b3900ac5f057de96e4c511bdb7d8c1754c9be7 (diff)
downloadmitmproxy-756b734ae294da09041303be52f9e9ced0b40d2d.tar.gz
mitmproxy-756b734ae294da09041303be52f9e9ced0b40d2d.tar.bz2
mitmproxy-756b734ae294da09041303be52f9e9ced0b40d2d.zip
[web] update HideInStatic and some components.
Diffstat (limited to 'web/src/js/components/Header/FlowMenu.jsx')
-rw-r--r--web/src/js/components/Header/FlowMenu.jsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/web/src/js/components/Header/FlowMenu.jsx b/web/src/js/components/Header/FlowMenu.jsx
index dc822150..70c8bfcf 100644
--- a/web/src/js/components/Header/FlowMenu.jsx
+++ b/web/src/js/components/Header/FlowMenu.jsx
@@ -23,7 +23,8 @@ export function FlowMenu({ flow, resumeFlow, killFlow, replayFlow, duplicateFlow
return <div/>
return (
<div>
- <HideInStatic className="menu-group">
+ <HideInStatic>
+ <div className="menu-group">
<div className="menu-content">
<Button title="[r]eplay flow" icon="fa-repeat text-primary"
onClick={() => replayFlow(flow)}>
@@ -43,6 +44,7 @@ export function FlowMenu({ flow, resumeFlow, killFlow, replayFlow, duplicateFlow
</Button>
</div>
<div className="menu-legend">Flow Modification</div>
+ </div>
</HideInStatic>
<div className="menu-group">
@@ -55,7 +57,8 @@ export function FlowMenu({ flow, resumeFlow, killFlow, replayFlow, duplicateFlow
<div className="menu-legend">Export</div>
</div>
- <HideInStatic className="menu-group">
+ <HideInStatic>
+ <div className="menu-group">
<div className="menu-content">
<Button disabled={!flow || !flow.intercepted} title="[a]ccept intercepted flow"
icon="fa-play text-success" onClick={() => resumeFlow(flow)}>
@@ -67,6 +70,7 @@ export function FlowMenu({ flow, resumeFlow, killFlow, replayFlow, duplicateFlow
</Button>
</div>
<div className="menu-legend">Interception</div>
+ </div>
</HideInStatic>