From 97e209c4c35ed1f86c3af027f5fa9d945381c57a Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Tue, 5 May 2020 12:58:52 +0200 Subject: [PATCH] feat(admin-ui): Allow status badges to be defined for NavMenuItems --- .../main-nav/main-nav.component.html | 10 ++++ .../main-nav/main-nav.component.scss | 37 +++++++++++++- .../main-nav/main-nav.component.spec.ts | 25 ---------- .../nav-builder/nav-builder-types.ts | 17 +++++++ .../nav-builder/nav-builder.service.ts | 50 +++++++++++++++---- 5 files changed, 104 insertions(+), 35 deletions(-) delete mode 100644 packages/admin-ui/src/lib/core/src/components/main-nav/main-nav.component.spec.ts diff --git a/packages/admin-ui/src/lib/core/src/components/main-nav/main-nav.component.html b/packages/admin-ui/src/lib/core/src/components/main-nav/main-nav.component.html index 8c7f3a9e9f..9b0ad52ea3 100644 --- a/packages/admin-ui/src/lib/core/src/components/main-nav/main-nav.component.html +++ b/packages/admin-ui/src/lib/core/src/components/main-nav/main-nav.component.html @@ -7,6 +7,9 @@ [class.collapsible]="section.collapsible" *vdrIfPermissions="section.requiresPermission" > + +
+