Add check for communityId = '' in community.component.html page

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@51295 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-03-16 10:27:38 +00:00
parent ff654384bf
commit db9ae6b5f4
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<article class="uk-article ">
<div *ngIf="communityId == null" class="uk-child-width-1-6@l uk-child-width-1-6@m uk-child-width-1-3@s uk-text-center uk-alert uk-alert-primary"> No community chosen </div>
<subscribe *ngIf="communityId != null" [communityId]="communityId" class=" uk-align-right"></subscribe>
<div *ngIf="communityId != null && community != null">
<div *ngIf="communityId != null && communityId != '' && community != null">
<blockquote>
<div *ngIf="community.title != null">
<p> {{community.title}}</p>
@ -33,7 +33,7 @@
</p>
</div>
<div *ngIf="communityId != null" class="uk-child-width-1-6@l uk-child-width-1-6@m uk-child-width-1-3@s uk-text-center uk-grid" uk-grid="">
<div *ngIf="communityId != null && communityId != '' " class="uk-child-width-1-6@l uk-child-width-1-6@m uk-child-width-1-3@s uk-text-center uk-grid" uk-grid="">
<div class="uk-first-column">
<div class="uk-card uk-card-default uk-card-small uk-card-body">
<div *ngIf="publicationTotal != null">
@ -84,7 +84,7 @@
</div>
</div>
<div *ngIf="communityId != null" class="uk-grid-small uk-margin-medium uk-grid" uk-grid="">
<div *ngIf="communityId != null && communityId != '' " class="uk-grid-small uk-margin-medium uk-grid" uk-grid="">
<div class="uk-width-expand@m uk-first-column">
<h3 class="uk-margin-small uk-h3 uk-heading-line uk-text-primary">
<span>Most recent publications</span>