diff options
author | Matthew Shao <me@matshao.com> | 2017-08-07 11:05:02 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-08-07 11:05:02 +0800 |
commit | f7b494ccf2a90d8c54df760e5142f34f11f8cf3c (patch) | |
tree | 9e70578680357bffc89c2bfb48ae978876d6d222 /web/src/js/components/Header/FileMenu.jsx | |
parent | 94a0b82ceedf1847a9bc67a6338369583f8410f9 (diff) | |
download | mitmproxy-f7b494ccf2a90d8c54df760e5142f34f11f8cf3c.tar.gz mitmproxy-f7b494ccf2a90d8c54df760e5142f34f11f8cf3c.tar.bz2 mitmproxy-f7b494ccf2a90d8c54df760e5142f34f11f8cf3c.zip |
[web] Add HideInStatic Component
HideInStaic compoent will check the MITMWEB_STATIC var, and hide the
responsive components in static mode.
Diffstat (limited to 'web/src/js/components/Header/FileMenu.jsx')
-rw-r--r-- | web/src/js/components/Header/FileMenu.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/components/Header/FileMenu.jsx b/web/src/js/components/Header/FileMenu.jsx index 62f721cf..cf346343 100644 --- a/web/src/js/components/Header/FileMenu.jsx +++ b/web/src/js/components/Header/FileMenu.jsx @@ -5,6 +5,7 @@ import FileChooser from '../common/FileChooser' import Dropdown, {Divider} from '../common/Dropdown' import * as flowsActions from '../../ducks/flows' import * as modalActions from '../../ducks/ui/modal' +import HideInStatic from "../common/HideInStatic"; FileMenu.propTypes = { clearFlows: PropTypes.func.isRequired, @@ -40,7 +41,6 @@ export function FileMenu ({clearFlows, loadFlows, saveFlows, openModal}) { <i className="fa fa-fw fa-cog"></i> Options </a> - <Divider/> <a href="http://mitm.it/" target="_blank"> |