Trunk | Connect: community.component.html: [Bug fix] Show zenodo communities if there exist.

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58607 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2020-05-05 16:55:47 +00:00
parent 3dffd1a9d5
commit 436088cadc
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@
</svg>
</span>
</div>
<div *ngIf="(zenodoCommunityIdS.length + (masterZenodoCommunity) > 0) && isRouteEnabled(shareInZenodoPage)" class="">
<div *ngIf="(zenodoCommunityIdS.length + ((masterZenodoCommunity) ? 1 : 0) > 0) && isRouteEnabled(shareInZenodoPage)" class="">
<span class="lowOpacityColor uk-text-muted">Linked to </span>
<a class="portal-link" [queryParams]=params routerLinkActive="router-link-active" [routerLink]="shareInZenodoPage">
<span>{{zenodoCommunityIdS.length + ((masterZenodoCommunity) ? 1 : 0)}}</span>