1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-05 09:10:53 +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>
</div>
<div class="border"></div>
<ng-container *ngIf="numberOfAccounts < 5">
<ng-container *ngIf="numberOfAccounts < 4">
<a class="add" routerLink="/login" (click)="toggle()">
<i class="fa fa-plus" aria-hidden="true"></i> {{ "addAccount" | i18n }}
</a>
</ng-container>
<ng-container *ngIf="numberOfAccounts == 5">
<ng-container *ngIf="numberOfAccounts == 4">
<a class="accountLimitReached">{{ "accountSwitcherLimitReached" | i18n }} </a>
</ng-container>
</div>