Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
MM-13422: Fix manage teams modal usage in system console. (#2172)
Browse files Browse the repository at this point in the history
* MM-13422: Fix manage teams modal usage in system console.

* Remove unnecessary async.
  • Loading branch information
grundleborg committed Dec 11, 2018
1 parent 64df7e0 commit 5eaabb5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ export default class ManageTeamsModal extends React.Component {
}
}

handleMemberChange = () => {
this.getTeamMembers(this.props.user.id);
};

renderContents = () => {
const {user} = this.props;
const {teams, teamMembers} = this.state;
Expand Down Expand Up @@ -141,7 +145,7 @@ export default class ManageTeamsModal extends React.Component {
team={team}
teamMember={teamMember}
onError={this.handleError}
onMemberChange={this.getTeamMembers}
onMemberChange={this.handleMemberChange}
updateTeamMemberSchemeRoles={this.props.actions.updateTeamMemberSchemeRoles}
handleRemoveUserFromTeam={this.handleRemoveUserFromTeam}
/>
Expand Down

0 comments on commit 5eaabb5

Please sign in to comment.