diff --git a/src/app/features/my-projects/mappers/my-resources.mapper.ts b/src/app/features/my-projects/mappers/my-resources.mapper.ts index 8fafdb4dc..767338291 100644 --- a/src/app/features/my-projects/mappers/my-resources.mapper.ts +++ b/src/app/features/my-projects/mappers/my-resources.mapper.ts @@ -11,10 +11,10 @@ export class MyResourcesMapper { isPublic: response.attributes.public, contributors: response.embeds?.bibliographic_contributors?.data?.map((contributor) => ({ - familyName: contributor.embeds.users.data.attributes.family_name, - fullName: contributor.embeds.users.data.attributes.full_name, - givenName: contributor.embeds.users.data.attributes.given_name, - middleName: contributor.embeds.users.data.attributes.middle_name, + familyName: contributor.embeds.users.data?.attributes.family_name, + fullName: contributor.embeds.users.data?.attributes.full_name, + givenName: contributor.embeds.users.data?.attributes.given_name, + middleName: contributor.embeds.users.data?.attributes.middle_name, })) ?? [], }; } diff --git a/src/app/shared/components/contributors/add-contributor-dialog/add-contributor-dialog.component.html b/src/app/shared/components/contributors/add-contributor-dialog/add-contributor-dialog.component.html index f471d1f6f..6a490975d 100644 --- a/src/app/shared/components/contributors/add-contributor-dialog/add-contributor-dialog.component.html +++ b/src/app/shared/components/contributors/add-contributor-dialog/add-contributor-dialog.component.html @@ -11,8 +11,8 @@ } @else { @for (item of users(); track $index) {
} diff --git a/src/app/shared/components/contributors/add-contributor-dialog/add-contributor-dialog.component.scss b/src/app/shared/components/contributors/add-contributor-dialog/add-contributor-dialog.component.scss index 866f8bf02..5b56d123d 100644 --- a/src/app/shared/components/contributors/add-contributor-dialog/add-contributor-dialog.component.scss +++ b/src/app/shared/components/contributors/add-contributor-dialog/add-contributor-dialog.component.scss @@ -1,11 +1,5 @@ @use "styles/mixins" as mix; -.label { - color: var(--dark-blue-1); - margin: 0; - cursor: pointer; -} - .border-divider { border-bottom: 1px solid var(--grey-2); } diff --git a/src/app/shared/components/cookie-consent/cookie-consent.component.html b/src/app/shared/components/cookie-consent/cookie-consent.component.html index 7d6f5baae..409e35808 100644 --- a/src/app/shared/components/cookie-consent/cookie-consent.component.html +++ b/src/app/shared/components/cookie-consent/cookie-consent.component.html @@ -3,11 +3,7 @@