Added valid but unknown mx user
This commit is contained in:
parent
890100a5bc
commit
7fa102998c
3 changed files with 21 additions and 5 deletions
|
@ -120,7 +120,8 @@ module.exports = React.createClass({
|
|||
} else if (e.keyCode === 32 || e.keyCode === 188) { // space or comma
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
if (Invite.isValidAddress(this.refs.textinput.value)) {
|
||||
var check = Invite.isValidAddress(this.refs.textinput.value);
|
||||
if (check === true || check === null) {
|
||||
var inviteList = this.state.inviteList.slice();
|
||||
inviteList.push(this.refs.textinput.value);
|
||||
this.setState({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue