diff --git a/app/models/user.js b/app/models/user.js index 1dfbd592e..998fda991 100644 --- a/app/models/user.js +++ b/app/models/user.js @@ -6,7 +6,7 @@ export default Model.extend({ meta: attr(), name: attr('string'), - givenNames: attr('string'), + givenName: attr('string'), familyName: attr('string'), createdAt: attr('date'), updatedAt: attr('date'), diff --git a/app/templates/components/user-list.hbs b/app/templates/components/user-list.hbs index b455729ad..ce185b091 100644 --- a/app/templates/components/user-list.hbs +++ b/app/templates/components/user-list.hbs @@ -21,9 +21,9 @@
ORCID
{{user.orcid}} - {{#if user.givenNames}} + {{#if user.givenName}}
Given Name
- {{user.givenNames}} + {{user.givenName}} {{/if}} {{#if user.familyName}} diff --git a/app/templates/components/user-show.hbs b/app/templates/components/user-show.hbs index 700419d9b..b995306ab 100644 --- a/app/templates/components/user-show.hbs +++ b/app/templates/components/user-show.hbs @@ -7,9 +7,9 @@
ORCID ID
{{model.orcid}} - {{#if model.givenNames}} + {{#if model.givenName}}
Given Name
- {{model.givenNames}} + {{model.givenName}} {{/if}} {{#if model.familyName}} diff --git a/package.json b/package.json index c368fb7ca..0c24d2a44 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bracco", - "version": "3.5.14", + "version": "3.6.0", "private": true, "description": "Fabrica", "repository": {