mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-28 12:35:40 +01:00
Hide account switcher border if no accounts (#1254)
This commit is contained in:
parent
cb4e6debf3
commit
a64273f829
@ -32,7 +32,7 @@
|
||||
cdkConnectedOverlayMinWidth="250px"
|
||||
>
|
||||
<div class="account-switcher-dropdown" [@transformPanel]="'open'">
|
||||
<div class="accounts">
|
||||
<div class="accounts" *ngIf="numberOfAccounts > 0">
|
||||
<a
|
||||
*ngFor="let a of accounts | keyvalue"
|
||||
class="account"
|
||||
@ -65,7 +65,7 @@
|
||||
></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="border"></div>
|
||||
<div class="border" *ngIf="numberOfAccounts > 0"></div>
|
||||
<ng-container *ngIf="numberOfAccounts < 4">
|
||||
<a class="add" routerLink="/login" (click)="toggle()">
|
||||
<i class="fa fa-plus" aria-hidden="true"></i> {{ "addAccount" | i18n }}
|
||||
|
Loading…
Reference in New Issue
Block a user