Add ability to remove people from invite list

This commit is contained in:
Erik Johnston 2015-07-16 17:30:10 +01:00
parent 68d60aadd1
commit 98160c3947
2 changed files with 5 additions and 3 deletions

View file

@ -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;
}));
},