Browse Source

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)
pull/17950/merge
Alex 3 hours ago committed by GitHub
parent
commit
a10736844a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      bitwarden_license/bit-web/src/app/dirt/access-intelligence/risk-insights.component.ts

4
bitwarden_license/bit-web/src/app/dirt/access-intelligence/risk-insights.component.ts

@ -194,7 +194,9 @@ export class RiskInsightsComponent implements OnInit, OnDestroy { @@ -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();
}

Loading…
Cancel
Save