1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-20 19:34:03 +00:00

[CL-934] Migrate breadcrumbs to OnPush (#17390)

Migrates BreadcrumbComponent and BreadcrumbsComponent to OnPush and changes any property to computed signals.
This commit is contained in:
Oscar Hinton
2025-12-16 16:15:34 +01:00
committed by jaasen-livefront
parent b1c6e36671
commit bf741dcea4
5 changed files with 71 additions and 43 deletions

View File

@@ -1,6 +1,6 @@
<ng-template>
@if (icon(); as icon) {
<i class="bwi {{ icon }} !tw-me-2" aria-hidden="true"></i>
<i class="bwi !tw-me-2" [class]="icon" aria-hidden="true"></i>
}
<ng-content></ng-content>
</ng-template>