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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user