Skip to content

Commit

Permalink
don't validate given name and family name for organization. #280
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jan 5, 2020
1 parent 30d878a commit f2d83be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/creator.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Validations = buildValidations({
presence: true,
disabled: computed('model.nameType', function() {
// only validate if nameType is "Personal"
this.model.get('nameType') !== 'Personal';
return this.model.get('nameType') !== 'Personal';
}),
}),
],
Expand All @@ -24,7 +24,7 @@ const Validations = buildValidations({
presence: true,
disabled: computed('model.nameType', function() {
// only validate if nameType is "Personal"
this.model.get('nameType') !== 'Personal';
return this.model.get('nameType') !== 'Personal';
}),
}),
],
Expand Down

0 comments on commit f2d83be

Please sign in to comment.