mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 01:58:09 -03:30
fix unit tests for network handling
This commit is contained in:
@@ -275,4 +275,5 @@ Lookup.defaultProps = {
|
||||
name: null,
|
||||
};
|
||||
|
||||
export { Lookup as _Lookup };
|
||||
export default withNetwork(Lookup);
|
||||
|
||||
@@ -343,4 +343,5 @@ Notifications.propTypes = {
|
||||
onCreateSuccess: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
export { Notifications as _Notifications };
|
||||
export default withNetwork(Notifications);
|
||||
|
||||
@@ -26,6 +26,7 @@ class NotifyAndRedirect extends Component {
|
||||
|
||||
render () {
|
||||
const { to, push, from, exact, strict, sensitive } = this.props;
|
||||
|
||||
return (
|
||||
<Redirect
|
||||
to={to}
|
||||
@@ -39,4 +40,5 @@ class NotifyAndRedirect extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
export { NotifyAndRedirect as _NotifyAndRedirect };
|
||||
export default withRootDialog(withRouter(NotifyAndRedirect));
|
||||
|
||||
Reference in New Issue
Block a user