webpack/components/AnsibleRolesSwitcher/index.js in foreman_ansible-6.1.1 vs webpack/components/AnsibleRolesSwitcher/index.js in foreman_ansible-6.2.0

- old
+ new

@@ -35,7 +35,7 @@ bindActionCreators(AnsibleRolesSwitcherActions, dispatch); export default withProtectedView( connect(mapStateToProps, mapDispatchToProps)(AnsibleRolesSwitcher), AnsiblePermissionDenied, - props => props.data && props.data.canView + props => props.canView );