Browse Source

UI: regroup CUSTOMER_USER menu under a Monitor section with dashboards / alarms / notifications

pull/15888/head
Igor Kulikov 3 months ago
parent
commit
f81a5c8ced
  1. 28
      ui-ngx/src/app/core/services/menu.models.ts

28
ui-ngx/src/app/core/services/menu.models.ts

@ -1033,8 +1033,24 @@ const defaultUserMenuMap = new Map<Authority, MenuReference[]>([
Authority.CUSTOMER_USER, Authority.CUSTOMER_USER,
[ [
{id: MenuId.home}, {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, id: MenuId.entities,
pages: [ pages: [
@ -1043,13 +1059,7 @@ const defaultUserMenuMap = new Map<Authority, MenuReference[]>([
{id: MenuId.entity_views} {id: MenuId.entity_views}
] ]
}, },
{id: MenuId.edge_instances}, {id: MenuId.edge_instances}
{
id: MenuId.notifications_center,
pages: [
{id: MenuId.notification_inbox}
]
}
] ]
] ]
]); ]);

Loading…
Cancel
Save