From f81a5c8ced457d27e31b8835170014098a7b0e36 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Tue, 30 Jun 2026 17:13:14 +0300 Subject: [PATCH] UI: regroup CUSTOMER_USER menu under a Monitor section with dashboards / alarms / notifications --- ui-ngx/src/app/core/services/menu.models.ts | 28 ++++++++++++++------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/ui-ngx/src/app/core/services/menu.models.ts b/ui-ngx/src/app/core/services/menu.models.ts index 5c5b840dbe..4699eaa2f4 100644 --- a/ui-ngx/src/app/core/services/menu.models.ts +++ b/ui-ngx/src/app/core/services/menu.models.ts @@ -1033,8 +1033,24 @@ const defaultUserMenuMap = new Map([ Authority.CUSTOMER_USER, [ {id: MenuId.home}, - {id: MenuId.alarms}, - {id: MenuId.dashboards}, + { + id: MenuId.monitor, + pages: [ + {id: MenuId.dashboards}, + { + id: MenuId.alarms_center, + pages: [ + {id: MenuId.alarms} + ] + }, + { + id: MenuId.notifications_center, + pages: [ + {id: MenuId.notification_inbox} + ] + } + ] + }, { id: MenuId.entities, pages: [ @@ -1043,13 +1059,7 @@ const defaultUserMenuMap = new Map([ {id: MenuId.entity_views} ] }, - {id: MenuId.edge_instances}, - { - id: MenuId.notifications_center, - pages: [ - {id: MenuId.notification_inbox} - ] - } + {id: MenuId.edge_instances} ] ] ]);