Skip to content

Commit

Permalink
Merge pull request #3540 from Automattic/update/invite-validation-rem…
Browse files Browse the repository at this point in the history
…ove-success-normalize

People: Remove normalization of successful invite validations
  • Loading branch information
ebinnion committed Feb 24, 2016
2 parents 63445d1 + e7be513 commit 1f4bb5e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/my-sites/people/invite-people/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ export default React.createClass( {
refreshValidation() {
const errors = InvitesCreateValidationStore.getErrors( this.props.site.ID, this.state.role ) || [];
let success = InvitesCreateValidationStore.getSuccess( this.props.site.ID, this.state.role ) || [];
if ( ! success.indexOf ) {
success = Object.keys( success ).map( key => success[ key ] );
}

this.setState( {
errors,
Expand Down

0 comments on commit 1f4bb5e

Please sign in to comment.