1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

[CL-553] Migrate CL to Control Flow syntax (#12390)

This commit is contained in:
Oscar Hinton
2025-02-03 20:11:59 +01:00
committed by GitHub
parent 444e928895
commit e5ffc162b8
47 changed files with 480 additions and 428 deletions

View File

@@ -5,10 +5,10 @@
<!-- labels inside a form control (checkbox, radio button) should not truncate -->
<span [ngClass]="{ 'tw-truncate': !isInsideFormControl }">
<ng-content></ng-content>
<ng-container *ngIf="isInsideFormControl">
@if (isInsideFormControl) {
<ng-container *ngTemplateOutlet="endSlotContent"></ng-container>
</ng-container>
}
</span>
<ng-container *ngIf="!isInsideFormControl">
@if (!isInsideFormControl) {
<ng-container *ngTemplateOutlet="endSlotContent"></ng-container>
</ng-container>
}