diff --git a/src/app/pages/ecosystem/research/shared/research-widget/research-widget.component.html b/src/app/pages/ecosystem/research/shared/research-widget/research-widget.component.html index a8c4eca..fc73988 100644 --- a/src/app/pages/ecosystem/research/shared/research-widget/research-widget.component.html +++ b/src/app/pages/ecosystem/research/shared/research-widget/research-widget.component.html @@ -13,8 +13,7 @@

    @for (author of research.authors; track author) {
  1. -

    {{ author.name }}

    -

    {{ author.affiliation }}

    +

    {{ author }}

  2. }
diff --git a/src/app/pages/ecosystem/research/shared/research-widget/research-widget.component.scss b/src/app/pages/ecosystem/research/shared/research-widget/research-widget.component.scss index ea4dee5..98fa308 100644 --- a/src/app/pages/ecosystem/research/shared/research-widget/research-widget.component.scss +++ b/src/app/pages/ecosystem/research/shared/research-widget/research-widget.component.scss @@ -58,7 +58,7 @@ font-size: 1rem; font-weight: normal; - h1, h2 { + h1 { padding: 0; margin: 0; } @@ -67,12 +67,6 @@ font-size: 1rem; font-weight: normal; } - - h2 { - opacity: .4; - font-size: .8rem; - font-weight: normal; - } } } } diff --git a/src/app/shared/models/research.model.ts b/src/app/shared/models/research.model.ts index 59ca88e..7866aec 100644 --- a/src/app/shared/models/research.model.ts +++ b/src/app/shared/models/research.model.ts @@ -30,8 +30,5 @@ export interface ResearchModel { description: string tags: string[] contributor: Observable - authors: [{ - name: string - affiliation: string - }] + authors: string[] } diff --git a/src/app/shared/services/models/research.service.ts b/src/app/shared/services/models/research.service.ts index 7b2ba31..75c65cb 100644 --- a/src/app/shared/services/models/research.service.ts +++ b/src/app/shared/services/models/research.service.ts @@ -53,12 +53,7 @@ export class ResearchService extends JsonFeedService { tags: feedItem['tags'] ? feedItem['tags'] : [], contributor: of(ContributorService.convertFeedItem( feedItem['author'])), - authors: feedItem['_authors'].map((author: any) => { - return { - name: author['name'], - affiliation: author['affiliation'] - } - }) + authors: feedItem['_authors'] } }