add paging for featured datasets tab (enermaps) and update submodule
This commit is contained in:
parent
313053bf20
commit
7c13530a8f
|
@ -725,7 +725,7 @@
|
||||||
<div class="uk-grid uk-margin-remove">
|
<div class="uk-grid uk-margin-remove">
|
||||||
<div class="uk-width-expand uk-padding uk-padding-remove-horizontal">
|
<div class="uk-width-expand uk-padding uk-padding-remove-horizontal">
|
||||||
<search-tab [fetch]="fetchFeaturedDatasets" [resultType]="'dataset'"
|
<search-tab [fetch]="fetchFeaturedDatasets" [resultType]="'dataset'"
|
||||||
[properties]="properties" customTitle="Featured Datasets"
|
[properties]="properties" customTitle="Featured Datasets" [currentPage]="page"
|
||||||
[showImpactFactors]="false" [showEnermaps]="true">
|
[showImpactFactors]="false" [showEnermaps]="true">
|
||||||
<div class="uk-margin-top uk-margin-medium-bottom uk-text-meta">
|
<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>
|
<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.
|
using only well-known datasets which you can trust.
|
||||||
</div>
|
</div>
|
||||||
</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)"
|
(pageChange)="updatePage($event)"
|
||||||
[page]="page" [pageSize]="size"
|
[page]="page" [pageSize]="size"
|
||||||
[totalResults]="fetchFeaturedDatasets.results.length" >
|
[totalResults]="fetchFeaturedDatasets.results.length" >
|
||||||
</no-load-paging> -->
|
</no-load-paging>
|
||||||
</search-tab>
|
</search-tab>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit fc5fcfaedec0376965f368ad8756bcfb13254deb
|
Subproject commit 2d0893ff453a14b996b112bb3b4d612e2704d898
|
Loading…
Reference in New Issue