From 72283d0a3564d3a41f140c41824086fb159397d2 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Tue, 21 Feb 2023 19:04:35 +0100 Subject: [PATCH] [SM-525] Fix projects not being active when on subroute (#4815) * Move overview to separate route. Change nav-item to use subset instead of exact * Add support for setting exactMatch in nav-item and nav-group * Change default to subset --- .../layout/org-switcher.component.html | 1 + .../src/navigation/nav-group.component.html | 1 + .../src/navigation/nav-group.component.ts | 6 ++++++ .../components/src/navigation/nav-item.component.ts | 13 ++++++++++--- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/bitwarden_license/bit-web/src/app/secrets-manager/layout/org-switcher.component.html b/bitwarden_license/bit-web/src/app/secrets-manager/layout/org-switcher.component.html index c08c2b17a2..e639c5f126 100644 --- a/bitwarden_license/bit-web/src/app/secrets-manager/layout/org-switcher.component.html +++ b/bitwarden_license/bit-web/src/app/secrets-manager/layout/org-switcher.component.html @@ -5,6 +5,7 @@ icon="bwi-business" [route]="['../', activeOrganization.id]" [(open)]="open" + [exactMatch]="true" >