1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 20:24:01 +00:00

fixed 'Favorites' not applying forceActiveStyles

This commit is contained in:
Leslie Xiong
2025-12-16 12:58:27 -05:00
parent e03d1bfee1
commit 470b0c8f38

View File

@@ -1,10 +1,10 @@
@for (typeFilter of typeFilters$ | async; track typeFilter) {
<bit-nav-item
[icon]="typeFilter.node.icon"
[forceActiveStyles]="activeFilter()?.cipherType === typeFilter.node.type"
[forceActiveStyles]="activeFilter()?.selectedCipherTypeNode.node.type === typeFilter.node.type"
(click)="applyFilter(typeFilter)"
[text]="typeFilter.node.name"
[attr.aria-pressed]="activeFilter()?.cipherType === typeFilter.node.type"
[attr.aria-pressed]="activeFilter()?.selectedCipherTypeNode.node.type === typeFilter.node.type"
[appA11yTitle]="typeFilter.node.name"
/>
}