[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:
parent
37c9e91efc
commit
aea456942e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue