diff options
author | JoramWilander <jwawilander@gmail.com> | 2016-02-11 13:47:32 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2016-02-11 13:47:32 -0500 |
commit | b35146e9b81fa6fd8934fe590c2a2854e6a5b1d5 (patch) | |
tree | 53e1be2834c729a3176327a430eda0529f8e06cc /web/react/components | |
parent | abd5a3e0d73aac5d35a0a57b06899ca03474e548 (diff) | |
download | chat-b35146e9b81fa6fd8934fe590c2a2854e6a5b1d5.tar.gz chat-b35146e9b81fa6fd8934fe590c2a2854e6a5b1d5.tar.bz2 chat-b35146e9b81fa6fd8934fe590c2a2854e6a5b1d5.zip |
Fix localization error for team invites
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/team_signup_email_item.jsx | 2 | ||||
-rw-r--r-- | web/react/components/team_signup_send_invites_page.jsx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/team_signup_email_item.jsx b/web/react/components/team_signup_email_item.jsx index feb70dc71..790ec2e5d 100644 --- a/web/react/components/team_signup_email_item.jsx +++ b/web/react/components/team_signup_email_item.jsx @@ -83,4 +83,4 @@ TeamSignupEmailItem.propTypes = { email: React.PropTypes.string }; -export default injectIntl(TeamSignupEmailItem);
\ No newline at end of file +export default injectIntl(TeamSignupEmailItem, {withRef: true}); 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; } |