1
0
mirror of https://github.com/bitwarden/desktop synced 2026-01-08 03:23:14 +00:00

[Account switching] Hide active account (#1241)

* Hide active account from dropdown

* No longer need to check if selected account is active before switching

* Applied feedback from PR review
This commit is contained in:
Daniel James Smith
2022-01-18 21:43:14 +01:00
committed by GitHub
parent 3cacf8a8c4
commit 8b521aa35e
2 changed files with 5 additions and 6 deletions

View File

@@ -27,7 +27,7 @@
[cdkConnectedOverlayHasBackdrop]="true"
[cdkConnectedOverlayBackdropClass]="'cdk-overlay-transparent-backdrop'"
(backdropClick)="toggle()"
[cdkConnectedOverlayOpen]="isOpen"
[cdkConnectedOverlayOpen]="showSwitcher && isOpen"
cdkConnectedOverlayMinWidth="250px"
>
<div class="account-switcher-dropdown" [@transformPanel]="'open'">