1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-28 12:35:40 +01:00

Fix display of account limit (#1253)

This commit is contained in:
Daniel James Smith 2022-01-21 14:15:24 +01:00 committed by GitHub
parent 2e7f8a127d
commit cb4e6debf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,12 +66,12 @@
</a> </a>
</div> </div>
<div class="border"></div> <div class="border"></div>
<ng-container *ngIf="numberOfAccounts < 5"> <ng-container *ngIf="numberOfAccounts < 4">
<a class="add" routerLink="/login" (click)="toggle()"> <a class="add" routerLink="/login" (click)="toggle()">
<i class="fa fa-plus" aria-hidden="true"></i> {{ "addAccount" | i18n }} <i class="fa fa-plus" aria-hidden="true"></i> {{ "addAccount" | i18n }}
</a> </a>
</ng-container> </ng-container>
<ng-container *ngIf="numberOfAccounts == 5"> <ng-container *ngIf="numberOfAccounts == 4">
<a class="accountLimitReached">{{ "accountSwitcherLimitReached" | i18n }} </a> <a class="accountLimitReached">{{ "accountSwitcherLimitReached" | i18n }} </a>
</ng-container> </ng-container>
</div> </div>