Hide loading in case of zero results at comunity page

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53552 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-10-24 14:38:11 +00:00
parent f33872655c
commit 79535e740f
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import { CommunityInfo } from '../../openaireLibrary/connect/community/community
@Component({
selector: 'results-comp',
template: `
<div *ngIf="!results">
<div *ngIf="!results && total != 0">
<div *ngIf="!showLoading" class="uk-animation-fade uk-width-1-1" role="alert"><span class="loading-gif uk-align-center"></span></div>
</div>
<div *ngIf="results != null && results.length > 0">