1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-29 14:43:31 +00:00

clear card selection when switching tabs (#18001)

Call closeDrawer() on tab change to reset invokerId, preventing
cards from appearing selected after navigating away and back.

(PM-29263)
This commit is contained in:
Alex
2025-12-17 14:06:47 -05:00
committed by GitHub
parent a12c7a31fd
commit a10736844a

View File

@@ -194,7 +194,9 @@ export class RiskInsightsComponent implements OnInit, OnDestroy {
queryParamsHandling: "merge",
});
// close drawer when tabs are changed
// Reset drawer state and close drawer when tabs are changed
// This ensures card selection state is cleared (PM-29263)
this.dataService.closeDrawer();
this.currentDialogRef?.close();
}