add paging for featured datasets tab (enermaps) and update submodule

This commit is contained in:
Alex-Coded4 2022-07-07 12:49:31 +03:00
parent 313053bf20
commit 7c13530a8f
2 changed files with 4 additions and 4 deletions

View File

@ -725,7 +725,7 @@
<div class="uk-grid uk-margin-remove">
<div class="uk-width-expand uk-padding uk-padding-remove-horizontal">
<search-tab [fetch]="fetchFeaturedDatasets" [resultType]="'dataset'"
[properties]="properties" customTitle="Featured Datasets"
[properties]="properties" customTitle="Featured Datasets" [currentPage]="page"
[showImpactFactors]="false" [showEnermaps]="true">
<div class="uk-margin-top uk-margin-medium-bottom uk-text-meta">
<div>Here are listed some of the most important energy datasets as selected by energy experts.</div>
@ -734,11 +734,11 @@
using only well-known datasets which you can trust.
</div>
</div>
<!-- <no-load-paging *ngIf="fetchFeaturedDatasets && fetchFeaturedDatasets.results.length > size" [type]="'Featured Datasets'"
<no-load-paging *ngIf="fetchFeaturedDatasets && fetchFeaturedDatasets.results.length > size" [type]="'Featured Datasets'"
(pageChange)="updatePage($event)"
[page]="page" [pageSize]="size"
[totalResults]="fetchFeaturedDatasets.results.length" >
</no-load-paging> -->
</no-load-paging>
</search-tab>
</div>
</div>

@ -1 +1 @@
Subproject commit fc5fcfaedec0376965f368ad8756bcfb13254deb
Subproject commit 2d0893ff453a14b996b112bb3b4d612e2704d898