From 24b43d5254714a8c9ddfc35158863cc6ef005d7b Mon Sep 17 00:00:00 2001 From: Mike Turley Date: Wed, 27 Mar 2019 14:41:07 -0400 Subject: [PATCH] Enable (un-hide) the Conversion Hosts tab of the Settings page --- .../react/screens/App/Settings/Settings.js | 30 +++++++------------ .../react/screens/App/Settings/index.js | 4 +-- 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/app/javascript/react/screens/App/Settings/Settings.js b/app/javascript/react/screens/App/Settings/Settings.js index f6b3a94b4a..1f4f2ab015 100644 --- a/app/javascript/react/screens/App/Settings/Settings.js +++ b/app/javascript/react/screens/App/Settings/Settings.js @@ -15,31 +15,23 @@ const Settings = props => { {__('Migration')} {__('Migration Settings')} - {props.hideConversionHostSettings ? ( - -

{__('Migration Throttling')}

- -
- ) : ( -
- redirectTo(key)} unmountOnExit> - - - - - - - -
- )} +
+ redirectTo(key)} unmountOnExit> + + + + + + + +
); }; Settings.propTypes = { match: PropTypes.object, - redirectTo: PropTypes.func, - hideConversionHostSettings: PropTypes.bool // TODO remove this when we are ready to release ConversionHostsSettings + redirectTo: PropTypes.func }; export default Settings; diff --git a/app/javascript/react/screens/App/Settings/index.js b/app/javascript/react/screens/App/Settings/index.js index 7ed9d509f3..c7763403d0 100644 --- a/app/javascript/react/screens/App/Settings/index.js +++ b/app/javascript/react/screens/App/Settings/index.js @@ -5,9 +5,7 @@ import * as RouterActions from '../../../../redux/actions/routerActions'; export const reducers = { settings: reducer }; -const mapStateToProps = () => ({ - hideConversionHostSettings: true // TODO remove this when we are ready to release ConversionHostsSettings -}); +const mapStateToProps = () => ({}); const mergeProps = (stateProps, dispatchProps, ownProps) => Object.assign(stateProps, ownProps.data, dispatchProps);