invite: Use `email` rather than `values[0]` in invite.js.

This commit is contained in:
Sumanth V Rao 2020-08-05 11:13:50 +05:30 committed by Tim Abbott
parent a003d592b3
commit 572b3930e7
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ function submit_invitation_form() {
if (deactivated) {
is_invitee_deactivated = true;
}
invitee_emails_errored.push(value[0]);
invitee_emails_errored.push(email);
});
const error_response = render_invitation_failed_error({