mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +01:00
fixed users reducer and seperate create state
This commit is contained in:
@@ -50,10 +50,8 @@ const mapDispatchToProps = dispatch => {
|
||||
};
|
||||
|
||||
const mapStateToProps = (state, ownProps) => {
|
||||
if (state.users && state.users.users) {
|
||||
return {
|
||||
loading: state.users.users.loading
|
||||
};
|
||||
if (state.users && state.users.create) {
|
||||
return state.users.create;
|
||||
}
|
||||
return {};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user