From e837d55e2793cc7feb2da90a070d71854a298009 Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Tue, 20 Dec 2022 10:04:16 +0200 Subject: [PATCH] progress on changing the graph menu items --- sharedComponents/menu.ts | 4 ++-- sharedComponents/navigationBar.component.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sharedComponents/menu.ts b/sharedComponents/menu.ts index 7cf36b96..d97b950d 100644 --- a/sharedComponents/menu.ts +++ b/sharedComponents/menu.ts @@ -17,7 +17,7 @@ export class MenuItem { customClass: string = null; isFeatured: boolean; - constructor(id: string, title: string, url: string, route: string, needsAuthorization: boolean, entitiesRequired: string[], routeRequired: string[], params, icon=null, fragment = null, customClass = null, routeActive = null) { + constructor(id: string, title: string, url: string, route: string, needsAuthorization: boolean, entitiesRequired: string[], routeRequired: string[], params, items=null, icon=null, fragment = null, customClass = null, routeActive = null) { this._id = id; this.title = title; this.url = url; @@ -28,7 +28,7 @@ export class MenuItem { this.routeRequired = routeRequired; this.params = params; this.markAsActive = true; - this.items = []; + this.items = items; this.icon = icon; this.fragment = fragment; this.customClass = customClass; diff --git a/sharedComponents/navigationBar.component.html b/sharedComponents/navigationBar.component.html index a14987b8..57640881 100644 --- a/sharedComponents/navigationBar.component.html +++ b/sharedComponents/navigationBar.component.html @@ -212,7 +212,7 @@
-
+