From b35146e9b81fa6fd8934fe590c2a2854e6a5b1d5 Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Thu, 11 Feb 2016 13:47:32 -0500
Subject: Fix localization error for team invites

---
 web/react/components/team_signup_send_invites_page.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'web/react/components/team_signup_send_invites_page.jsx')

diff --git a/web/react/components/team_signup_send_invites_page.jsx b/web/react/components/team_signup_send_invites_page.jsx
index 46a6bc68e..343db13e8 100644
--- a/web/react/components/team_signup_send_invites_page.jsx
+++ b/web/react/components/team_signup_send_invites_page.jsx
@@ -33,8 +33,8 @@ export default class TeamSignupSendInvitesPage extends React.Component {
             var emails = [];
 
             for (var i = 0; i < this.props.state.invites.length; i++) {
-                if (this.refs['email_' + i].validate(this.props.state.team.email)) {
-                    emails.push(this.refs['email_' + i].getValue());
+                if (this.refs['email_' + i].getWrappedInstance().validate(this.props.state.team.email)) {
+                    emails.push(this.refs['email_' + i].getWrappedInstance().getValue());
                 } else {
                     valid = false;
                 }
-- 
cgit v1.2.3-1-g7c22

