make first and last name optional

This commit is contained in:
Jake McDermott 2018-07-18 12:28:35 -04:00
parent 831e79ff17
commit 32f0e54666
No known key found for this signature in database
GPG Key ID: 9A6F084352C3A0B7

View File

@ -29,14 +29,14 @@ export default ['i18n', function(i18n) {
label: i18n._('First Name'),
type: 'text',
ngDisabled: '!(user_obj.summary_fields.user_capabilities.edit || canAdd)',
required: true,
required: false,
capitalize: true
},
last_name: {
label: i18n._('Last Name'),
type: 'text',
ngDisabled: '!(user_obj.summary_fields.user_capabilities.edit || canAdd)',
required: true
required: false,
},
organization: {
label: i18n._('Organization'),