From 6a5bafd07bf285a5cd0bace985fcba82ad0d125e Mon Sep 17 00:00:00 2001 From: zmagod Date: Wed, 18 Oct 2017 08:42:48 +0200 Subject: [PATCH] fix hound --- app/javascript/src/components/InviteUsersModal/index.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/javascript/src/components/InviteUsersModal/index.jsx b/app/javascript/src/components/InviteUsersModal/index.jsx index bce269e2b..79acd8b44 100644 --- a/app/javascript/src/components/InviteUsersModal/index.jsx +++ b/app/javascript/src/components/InviteUsersModal/index.jsx @@ -61,16 +61,15 @@ class InviteUsersModal extends Component { handleInputChange(inputTags: Array): void { if (inputTags.length > 0) { - (this: any).setState({ inputTags: inputTags, inviteUserButtonDisabled: false }); + (this: any).setState({ inputTags, inviteUserButtonDisabled: false }); } else { - (this: any).setState({ inputTags: inputTags, inviteUserButtonDisabled: true }); + (this: any).setState({ inputTags, inviteUserButtonDisabled: true }); } } inviteAs(role: number): void { inviteUsersToTeam(role, this.state.inputTags, this.props.team.id) .then(response => { - console.log(response); (this: any).setState({ inviteResults: response, showInviteUsersResults: true