From 792108684ec4da8ac48cc3d9310823a216d21d30 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Wed, 9 Nov 2022 12:36:14 +0200 Subject: [PATCH] Add missing about menu subitems --- src/app/app.component.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index ba74792..f5ebb13 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -393,10 +393,12 @@ export class AppComponent implements OnInit, OnDestroy { "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/browse', "", false, [], null, {}, null, null, null, null, "_self") ); this.resourcesService.setResources(this.menuItems, '', "https://" + (this.properties.environment === 'beta' ? 'beta.' : '') + 'monitor.openaire.eu'); - this.menuItems.push( - new MenuItem("about", "About", - "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/about/learn-how', "", false, [], null, {}, null, null, null, null, "_self") - ); + let about = new MenuItem("about", "About", "", "", false, [], null, {}); + about.items = [ + new MenuItem("how-it-works", "How it works", "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/about/how-it-works', "", false, [], null, {}, null, null, null, null, "_self"), + new MenuItem("faqs", "FAQs", "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/about/faqs',"", false, [], null, {}, null, null, null, null, "_self") + ] + this.menuItems.push(about); if (this.hasAdminMenu) { this.adminMenuItems = []; this.specialSideBarMenuItem = null;