summaryrefslogtreecommitdiffstats
path: root/web/react/components/team_signup_send_invites_page.jsx
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2016-02-11 13:47:32 -0500
committerJoramWilander <jwawilander@gmail.com>2016-02-11 13:47:32 -0500
commitb35146e9b81fa6fd8934fe590c2a2854e6a5b1d5 (patch)
tree53e1be2834c729a3176327a430eda0529f8e06cc /web/react/components/team_signup_send_invites_page.jsx
parentabd5a3e0d73aac5d35a0a57b06899ca03474e548 (diff)
downloadchat-b35146e9b81fa6fd8934fe590c2a2854e6a5b1d5.tar.gz
chat-b35146e9b81fa6fd8934fe590c2a2854e6a5b1d5.tar.bz2
chat-b35146e9b81fa6fd8934fe590c2a2854e6a5b1d5.zip
Fix localization error for team invites
Diffstat (limited to 'web/react/components/team_signup_send_invites_page.jsx')
-rw-r--r--web/react/components/team_signup_send_invites_page.jsx4
1 files changed, 2 insertions, 2 deletions
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;
}