landing pages: add check if landingInfo is initialized

This commit is contained in:
Alex Martzios 2023-06-08 10:55:12 +03:00
parent 8f492223d0
commit 1d31c7b234
4 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@
</div>
</div>
<div *ngIf="!showLoading" class="uk-visible@s uk-margin-top uk-margin-bottom">
<div *ngIf="!showLoading && dataProviderInfo" class="uk-visible@s uk-margin-top uk-margin-bottom">
<div class="uk-flex uk-flex-middle uk-flex-center">
<div class="landing-action-bar uk-text-xsmall uk-box-shadow-small uk-margin-bottom">
<entity-actions [share]="true" [type]="'dataprovider'"></entity-actions>

View File

@ -80,7 +80,7 @@
</div>
<!-- new action bar -->
<div *ngIf="!showLoading" class="uk-margin-top uk-margin-bottom">
<div *ngIf="!showLoading && organizationInfo" class="uk-margin-top uk-margin-bottom">
<div class="uk-flex uk-flex-middle uk-flex-center">
<div class="landing-action-bar uk-box-shadow-small uk-margin-bottom">
<div class="uk-grid uk-grid-small uk-flex-between uk-text-xsmall uk-flex-middle uk-grid-divider" uk-grid>

View File

@ -117,7 +117,7 @@
</div>
</div>
<!-- new action bar -->
<div *ngIf="!showLoading" class="uk-visible@s uk-margin-top uk-margin-bottom">
<div *ngIf="!showLoading && projectInfo" class="uk-visible@s uk-margin-top uk-margin-bottom">
<div class="uk-flex uk-flex-middle uk-flex-center">
<div class="landing-action-bar uk-text-xsmall uk-box-shadow-small uk-margin-bottom">
<entity-actions [deposit]="true" [share]="true" [linking]="true" [embed]="true"

View File

@ -114,7 +114,7 @@
</div>
</div>
<div *ngIf="!showLoading" class="uk-margin-top uk-margin-bottom">
<div *ngIf="!showLoading && resultLandingInfo" class="uk-margin-top uk-margin-bottom">
<div class="uk-flex uk-flex-middle uk-flex-center">
<div class="landing-action-bar uk-box-shadow-small uk-margin-bottom">
<div class="uk-grid uk-grid-small uk-flex-between uk-text-xsmall uk-flex-middle uk-grid-divider" uk-grid>