From c79b91bd6ad289beb2c57365cf742061aa253886 Mon Sep 17 00:00:00 2001 From: konolak Date: Thu, 19 Dec 2024 15:32:23 +0200 Subject: [PATCH] directly link to funding call with id, if funder is research academy of finland --- .../single/single-funding/single-funding.component.html | 3 ++- src/app/portal/models/funding/funder.model.ts | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/portal/components/single/single-funding/single-funding.component.html b/src/app/portal/components/single/single-funding/single-funding.component.html index cccc205fb..2d4e431c5 100644 --- a/src/app/portal/components/single/single-funding/single-funding.component.html +++ b/src/app/portal/components/single/single-funding/single-funding.component.html @@ -427,7 +427,8 @@

diff --git a/src/app/portal/models/funding/funder.model.ts b/src/app/portal/models/funding/funder.model.ts index 6088cc47a..737b896ef 100644 --- a/src/app/portal/models/funding/funder.model.ts +++ b/src/app/portal/models/funding/funder.model.ts @@ -13,6 +13,7 @@ export class Funder { constructor( public name: string, public nameUnd: string, + public funderOrganizationId: string, public typeOfFundingId: string, public typeOfFundingName: string, public callProgrammeName: string, @@ -45,7 +46,8 @@ export class FunderAdapter implements Adapter { return new Funder( this.utils.checkTranslation('funderName', item), - item.funderNameUnd, + item.funderNameUnd, + item.funderOrganizationId, item.typeOfFundingId, this.utils.checkTranslation('typeOfFundingName', item)?.trim().length > 0 ? this.utils.checkTranslation('typeOfFundingName', item)