Merge pull request #2559 from influxdata/multitenancy_fix_add_spaces_to_org_create_rebased

Allow new Organization names to include spaces
pull/10616/head
lukevmorris 2017-12-12 13:38:29 -08:00 committed by GitHub
commit 3247269129
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 => {