Allow new Organization names to include spaces

pull/10616/head
Jared Scheib 2017-12-11 14:42:17 -08:00
parent 88bd894903
commit 17e3641ae4
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class OrganizationsTableRowNew extends Component {
}
handleInputChange = e => {
this.setState({name: e.target.value.trim()})
this.setState({name: e.target.value})
}
handleInputFocus = e => {
@ -39,7 +39,7 @@ class OrganizationsTableRowNew extends Component {
const {onCreateOrganization} = this.props
const {name, defaultRole} = this.state
onCreateOrganization({name, defaultRole})
onCreateOrganization({name: name.trim(), defaultRole})
}
handleChooseDefaultRole = role => {