Skip to content
Snippets Groups Projects
Commit 4c94bcb0 authored by Orlando Piñero's avatar Orlando Piñero
Browse files

fixes

parent e1751f70
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ class DegreeCourseManagement extends Component {
if (this.props.isAdmin) {
addButton =
<div style={{ display: 'flex', justifyContent: 'center', width: '5vw', background: '#f8f9fa', borderRadius: '30px' }}>
<Button onClick={this.handleShowCreatePage} style={{ background: 'transparent', border: 'none' }}>
<Button id="DegreeCourseManagementPageCreateDegreeCourseButton" onClick={this.handleShowCreatePage} style={{ background: 'transparent', border: 'none' }}>
<img alt="Add-DegreeCourse-Button" src={addIcon} style={{ width: '2rem' }}></img>
</Button>
</div>
......
......@@ -100,7 +100,7 @@ class UserManagement extends Component {
</div>
<div id="UserManagementPageListComponent" style={{ display: "flex", flexFlow: "row wrap", justifyContent: "left" }}>
{this.MapAllUsers()}
<DeleteUserModal />
<DeleteUserModal handleShowEditPage={this.handleShowEditPage} handleShowDeleteModal={this.handleShowDeleteModal}/>
</div>
</>
break
......@@ -120,7 +120,7 @@ class UserManagement extends Component {
</div>
<div id="UserManagementPageListComponent" style={{ display: "flex", flexFlow: "row wrap" }}>
{this.MapAllUsers()}
<DeleteUserModal />
<DeleteUserModal handleShowEditPage={this.handleShowEditPage} handleShowDeleteModal={this.handleShowDeleteModal}/>
</div>
</>
}
......@@ -133,8 +133,8 @@ class UserManagement extends Component {
}
const mapDispatchToProps = dispatch => bindActionCreators({
showDeleteDegreeCourseModalAction: userManagementActions.getShowDeleteUserModalAction,
hideDeleteDegreeCourseModalAction: userManagementActions.getHideDeleteUserModalAction
showDeleteUserModalAction: userManagementActions.getShowDeleteUserModalAction,
hideDeleteUserModalAction: userManagementActions.getHideDeleteUserModalAction
}, dispatch)
const ConnectedUserManagement = connect(mapStateToProps, mapDispatchToProps)(UserManagement)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment