[Connect]: community.component.html: Remove properties.environment != 'production' check for enermaps "Featured Datasets" tab | app.component.ts: [Bug fix] Added undefined check before creating intersection observers.
This commit is contained in:
parent
1e78ba1c28
commit
206d18c60a
|
@ -474,9 +474,11 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
restrictedData ? "" : "/myCommunities", false, [], [], {}));
|
restrictedData ? "" : "/myCommunities", false, [], [], {}));
|
||||||
}
|
}
|
||||||
this.showMenu = true;
|
this.showMenu = true;
|
||||||
setTimeout(() => {
|
if (typeof document !== "undefined") {
|
||||||
this.createObservers();
|
setTimeout(() => {
|
||||||
});
|
this.createObservers();
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -538,12 +538,13 @@
|
||||||
Ontology Mapping
|
Ontology Mapping
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li *ngIf="properties.environment != 'production' && communityId == 'enermaps' && fetchFeaturedDatasets.searchUtils.totalResults > 0 && isEntityEnabled('dataset')"
|
<li
|
||||||
(click)="onSelectActiveTab('enermaps')" [class.uk-active]="activeTab == 'enermaps'">
|
*ngIf="communityId == 'enermaps' && fetchFeaturedDatasets.searchUtils.totalResults > 0 && isEntityEnabled('dataset')"
|
||||||
<a class="uk-width-1-1 uk-height-1-1 uk-flex uk-flex-center featuredTab">
|
(click)="onSelectActiveTab('enermaps')" [class.uk-active]="activeTab == 'enermaps'">
|
||||||
Featured Datasets ({{fetchFeaturedDatasets.searchUtils.totalResults | number}})
|
<a class="uk-width-1-1 uk-height-1-1 uk-flex uk-flex-center featuredTab">
|
||||||
</a>
|
Featured Datasets ({{fetchFeaturedDatasets.searchUtils.totalResults | number}})
|
||||||
</li>
|
</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -717,17 +718,18 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="activeTab == 'enermaps' && properties.environment != 'production' && communityId == 'enermaps' && fetchFeaturedDatasets.searchUtils.totalResults > 0 && isEntityEnabled('dataset')">
|
<div
|
||||||
<div class="uk-grid uk-margin-remove">
|
*ngIf="activeTab == 'enermaps' && communityId == 'enermaps' && fetchFeaturedDatasets.searchUtils.totalResults > 0 && isEntityEnabled('dataset')">
|
||||||
<div class="uk-width-expand uk-padding uk-padding-remove-horizontal">
|
<div class="uk-grid uk-margin-remove">
|
||||||
<search-tab [fetch]="fetchFeaturedDatasets" [resultType]="'dataset'"
|
<div class="uk-width-expand uk-padding uk-padding-remove-horizontal">
|
||||||
[properties]="properties" customTitle="Featured Datasets" [currentPage]="page"
|
<search-tab [fetch]="fetchFeaturedDatasets" [resultType]="'dataset'"
|
||||||
[showEnermaps]="true">
|
[properties]="properties" customTitle="Featured Datasets" [currentPage]="page"
|
||||||
<div class="uk-margin-top uk-margin-medium-bottom uk-text-meta">
|
[showEnermaps]="true">
|
||||||
<div>Here are listed some of the most important energy datasets as selected by energy experts.</div>
|
<div class="uk-margin-top uk-margin-medium-bottom uk-text-meta">
|
||||||
<div>
|
<div>Here are listed some of the most important energy datasets as selected by energy experts.</div>
|
||||||
Check them if you want to easily explore and visualize the European energy landscape,
|
<div>
|
||||||
using only well-known datasets which you can trust.
|
Check them if you want to easily explore and visualize the European energy landscape,
|
||||||
|
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'"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 10130d368a1e3c72e6785fe2291234529040bf84
|
Subproject commit da144c1c77012fa4489dd84f013d499f9df8f72a
|
|
@ -1 +1 @@
|
||||||
Subproject commit d772dbd4b2f2d8af9e26d98eed7417f2fbf15c3a
|
Subproject commit cd44ace5d067999ed6d852f20204d5a05385580b
|
|
@ -1 +1 @@
|
||||||
Subproject commit 2882ccde4eb93bd01b4cdb480790cc04b394794d
|
Subproject commit 99ecab0b4e9ceed21424c8fa26ef270b4695b11e
|
Loading…
Reference in New Issue