diff --git a/landingPages/result/resultLanding.component.html b/landingPages/result/resultLanding.component.html
index ca097000..dd683993 100644
--- a/landingPages/result/resultLanding.component.html
+++ b/landingPages/result/resultLanding.component.html
@@ -297,13 +297,13 @@
0"
[tabTitle]="'External Databases'" [tabId]="'bioentities'" [tabNumber]="bioentitiesNum">
+
+
-
-
@@ -328,14 +328,14 @@
+
+
+
-
-
-
0"
diff --git a/landingPages/result/resultLanding.component.ts b/landingPages/result/resultLanding.component.ts
index 9e1c8714..bc25c014 100644
--- a/landingPages/result/resultLanding.component.ts
+++ b/landingPages/result/resultLanding.component.ts
@@ -554,10 +554,6 @@ export class ResultLandingComponent {
}
}
}
- if (this.communityId && this.communityId == "enermaps" && properties.enermapsURL) {
- this.enermapsId = ParsingFunctions.getEnermapsConceptId(this.resultLandingInfo.contexts);
- }
-
this.relatedClassFilters = [{"label": "All relations", "value": ""}];
if (this.resultLandingInfo.relatedClassFilters.size > 1) {
for (let relClass of this.resultLandingInfo.relatedClassFilters) {
@@ -591,6 +587,9 @@ export class ResultLandingComponent {
this.cdr.detectChanges();
if (contexts) {
+ if (this.communityId && this.communityId == "enermaps" && properties.enermapsURL) {
+ this.enermapsId = ParsingFunctions.getEnermapsConceptId(contexts);
+ }
await this.promise;
if(this.publicCommunities && this.publicCommunities.length > 0) {
this.resultLandingInfo.contexts = contexts.filter(context => {