From 8e76890a1c47b832340bcd4e98549e880ed1a25e Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Wed, 13 Jan 2021 16:10:05 +0000 Subject: [PATCH] [Library | Trunk]: Fix manage on research results git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60228 d315682c-612b-4755-9ff5-7f18f6832af3 --- searchPages/searchUtils/portal-search-result.component.html | 2 +- utils/manage/manage.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/searchPages/searchUtils/portal-search-result.component.html b/searchPages/searchUtils/portal-search-result.component.html index a27a53d9..dbafe3eb 100644 --- a/searchPages/searchUtils/portal-search-result.component.html +++ b/searchPages/searchUtils/portal-search-result.component.html @@ -86,7 +86,7 @@ class="portal-link"> {{(result.name) ? result.name : result.index_shortName}} -
diff --git a/utils/manage/manage.component.ts b/utils/manage/manage.component.ts index b694b1d1..d1cb6f36 100644 --- a/utils/manage/manage.component.ts +++ b/utils/manage/manage.component.ts @@ -1,5 +1,6 @@ import { Component, Input} from '@angular/core'; import {EnvProperties} from "../properties/env-properties"; +import {properties} from "../../../../environments/environment"; @Component({ selector: 'manage', template: ` @@ -20,6 +21,6 @@ export class ManageComponent { @Input() communityId:string; @Input() alias: string; @Input() buttonSizeSmall = true; - @Input() properties: EnvProperties; + properties: EnvProperties = properties; constructor() {} }