Add ability to remove people from invite list
This commit is contained in:
parent
68d60aadd1
commit
98160c3947
2 changed files with 5 additions and 3 deletions
|
@ -38,7 +38,7 @@ module.exports = {
|
|||
},
|
||||
|
||||
removeUser: function(user_id) {
|
||||
this.props.onChange(this.state.selected_users.filter(function(e) {
|
||||
this.props.onChange(this.props.selected_users.filter(function(e) {
|
||||
return e != user_id;
|
||||
}));
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue