diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index a611199..9a53beb 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -169,7 +169,7 @@ export class AppComponent {
this.configurationService.initCommunityInformation(this.properties, (communityId) ? communityId : this.properties.adminToolsPortalType);
}
initLayout(communityId){
- if(!this.layout && location.pathname.indexOf("/preview") == -1) {
+ if(!this.layout && (typeof location == 'undefined' || (typeof location !== 'undefined' && location.pathname.indexOf("/preview") == -1))) {
this._layoutService.getLayout(this.properties, communityId).subscribe(
layout => {
if (layout) {
diff --git a/src/app/community/community.component.html b/src/app/community/community.component.html
index 5acbcf1..d940dbd 100644
--- a/src/app/community/community.component.html
+++ b/src/app/community/community.component.html
@@ -617,7 +617,7 @@
[tabTitle]="'Ontology Mapping'" [tabId]="'mapping'" customClass="portalTab">
- 0 && isEntityEnabled('dataset')" customClass="portalTab"
[tabTitle]="'Featured datasets'" [tabId]="'enermaps'" [tabNumber]="fetchFeaturedDatasets.searchUtils.totalResults">
diff --git a/src/app/utils/customization/customization.component.ts b/src/app/utils/customization/customization.component.ts
index fc1e472..3b4cabb 100644
--- a/src/app/utils/customization/customization.component.ts
+++ b/src/app/utils/customization/customization.component.ts
@@ -65,7 +65,6 @@ export class CustomizationComponent {
--background-light-color:` + this.layout.backgrounds.light.color+`;
}
`;
- console.log(" create form css " , this.layout.backgrounds.form)
//Search SVG
let search = ``;
;
diff --git a/src/environments/environment.beta.ts b/src/environments/environment.beta.ts
index a89ee8b..6c78757 100644
--- a/src/environments/environment.beta.ts
+++ b/src/environments/environment.beta.ts
@@ -51,10 +51,10 @@ export let properties: EnvProperties = {
vocabulariesAPI: "https://beta.services.openaire.eu/provision/mvc/vocabularies/",
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
piwikSiteId: "80",
- loginUrl: "https://beta.services.openaire.eu/connect-login/openid_connect_login",
- userInfoUrl: "https://beta.services.openaire.eu/uoa-user-management/api/users/getUserInfo?accessToken=",
+ loginUrl: "https://beta.services.openaire.eu/login-service/openid_connect_login",
+ userInfoUrl: "https://beta.services.openaire.eu/login-service/userInfo",
registryUrl: 'https://beta.services.openaire.eu/uoa-user-management/api/registry/',
- logoutUrl: "https://beta.services.openaire.eu/connect-login/openid_logout",
+ logoutUrl: "https://beta.services.openaire.eu/login-service/openid_logout",
cookieDomain: ".openaire.eu",
feedbackmail: "feedback@openaire.eu",
cacheUrl: "https://demo.openaire.eu/cache/get?url=",