diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-10-25 14:00:33 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2017-10-25 14:00:33 +0200 |
commit | f870ccd949ca46e6a1ca48a6d5e40589fad41ce2 (patch) | |
tree | 7bd7d08ccdad49c408b35c24e4832d5aacb81463 /web/src/js/components/Header/FileMenu.jsx | |
parent | 51d3fb8ea14423331f39dcf615493dab34ee81a8 (diff) | |
download | mitmproxy-f870ccd949ca46e6a1ca48a6d5e40589fad41ce2.tar.gz mitmproxy-f870ccd949ca46e6a1ca48a6d5e40589fad41ce2.tar.bz2 mitmproxy-f870ccd949ca46e6a1ca48a6d5e40589fad41ce2.zip |
[web] remove prompt
Diffstat (limited to 'web/src/js/components/Header/FileMenu.jsx')
-rw-r--r-- | web/src/js/components/Header/FileMenu.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/src/js/components/Header/FileMenu.jsx b/web/src/js/components/Header/FileMenu.jsx index 5cb8e507..1e3b9268 100644 --- a/web/src/js/components/Header/FileMenu.jsx +++ b/web/src/js/components/Header/FileMenu.jsx @@ -20,7 +20,7 @@ FileMenu.onNewClick = (e, clearFlows) => { clearFlows() } -export function FileMenu ({clearFlows, loadFlows, saveFlows, openModal}) { +export function FileMenu ({clearFlows, loadFlows, saveFlows, openOptions}) { return ( <Dropdown className="pull-left" btnClass="special" text="mitmproxy"> <a href="#" onClick={e => FileMenu.onNewClick(e, clearFlows)}> @@ -38,7 +38,7 @@ export function FileMenu ({clearFlows, loadFlows, saveFlows, openModal}) { </a> <HideInStatic> - <a href="#" onClick={e => { e.preventDefault(); openModal(); }}> + <a href="#" onClick={e => { e.preventDefault(); openOptions(); }}> <i className="fa fa-fw fa-cog"></i> Options </a> @@ -59,6 +59,6 @@ export default connect( clearFlows: flowsActions.clear, loadFlows: flowsActions.upload, saveFlows: flowsActions.download, - openModal: () => modalActions.setActiveModal('OptionModal'), + openOptions: () => modalActions.setActiveModal('OptionModal'), } )(FileMenu) |