diff --git a/deploy/beta-properties.json b/deploy/beta-properties.json index 9efb5dd..ba471dd 100644 --- a/deploy/beta-properties.json +++ b/deploy/beta-properties.json @@ -93,6 +93,6 @@ "widgetLink" : "https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", "claimsInformationLink": "https://beta.openaire.eu/linking", - "lastIndexUpdate": "2019-05-16", + "lastIndexUpdate": "2019-11-01", "indexInfoAPI": "http://beta.services.openaire.eu/openaire/info/" } diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 36e8b14..98051cf 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -40,7 +40,7 @@ export class AppComponent implements OnInit { constructor(private route: ActivatedRoute, private propertiesService: EnvironmentSpecificService, private _communitiesService: CommunitiesService, - private router: Router, + public router: Router, private userManagementService: UserManagementService) { this.router.events.forEach((event) => { if (event instanceof NavigationStart) { @@ -242,13 +242,11 @@ export class AppComponent implements OnInit { '/organizations', false, [], [], {communityId: this.communityId}), items: [] }); - if(this.properties.environment == 'development') { - community.items.push({ - rootItem: new MenuItem('layout', 'Customize Layout', '/customize-layout', - '/customize-layout', false, [], [], {communityId: this.communityId}), - items: [] - }); - } + community.items.push({ + rootItem: new MenuItem('layout', 'Customize Layout', '/customize-layout', + '/customize-layout', false, [], [], {communityId: this.communityId}), + items: [] + }); /*community.items.push({ rootItem: new MenuItem('communityLayout', 'Community Layout', '/community-layout', '/community-layout', false, [], [], {communityId: this.communityId}), diff --git a/src/app/pages/customization/Color.component.ts b/src/app/pages/customization/Color.component.ts index 70bbda1..3c42f19 100644 --- a/src/app/pages/customization/Color.component.ts +++ b/src/app/pages/customization/Color.component.ts @@ -8,12 +8,8 @@ import {Component, EventEmitter, Input, OnInit, Output,} from '@angular/core';