[Library]: resultLanding.component.ts: In method "checkIfAllowed()", keep only "covid-19" in publicCommunitities array (no index only for covid-19 related results in Explore).

This commit is contained in:
Konstantina Galouni 2021-08-10 12:49:23 +03:00
parent 37c9e91efc
commit aea456942e
1 changed files with 1 additions and 2 deletions

View File

@ -648,8 +648,7 @@ export class ResultLandingComponent {
}
checkIfAllowed(resultLandingInfo: ResultLandingInfo) {
let publicCommunities: string[] = [ "aginfra", "rural-digital-europe", "covid-19", "dariah", "dh-ch",
"enermaps", "mes", "fam", "ni", "sdsn-gr", "elixir-gr", "beopen"];
let publicCommunities: string[] = [ "covid-19" ];
try {
if(!(this.properties.environment == "production" || this.properties.environment == "development") ) {
return true;