diff --git a/utils/configuration/configuration.service.ts b/utils/configuration/configuration.service.ts index 657c1615..9c624b23 100644 --- a/utils/configuration/configuration.service.ts +++ b/utils/configuration/configuration.service.ts @@ -36,6 +36,8 @@ export class ConfigurationService { } public initCommunityInformation(properties:EnvProperties, community:string) { + if(community == null) return; + let url = properties.adminToolsAPIURL +"/communityFull/" + community; this.promise = new Promise((resolve => { this.source = this.http.get((properties.useLongCache) ? (properties.cacheUrl + encodeURIComponent(url)) : url);