diff --git a/apps/desktop/src/vault/app/vault-v3/vault-filter/filters/type-filter.component.html b/apps/desktop/src/vault/app/vault-v3/vault-filter/filters/type-filter.component.html index a552ee2d719..309b953acb5 100644 --- a/apps/desktop/src/vault/app/vault-v3/vault-filter/filters/type-filter.component.html +++ b/apps/desktop/src/vault/app/vault-v3/vault-filter/filters/type-filter.component.html @@ -1,8 +1,16 @@ + @for (typeFilter of typeFilters$ | async; track typeFilter) { >(); protected readonly activeFilter = input(); - protected applyFilter(cipherType: TreeNode) { + protected applyTypeFilter(cipherType: TreeNode) { const filter = this.activeFilter(); if (filter) { @@ -30,6 +31,14 @@ export class TypeFilterComponent { } } + protected applyAllItemsFilter() { + const filter = this.activeFilter(); + + if (filter) { + filter.selectedCipherTypeNode = this.cipherTypes(); + } + } + protected typeFilters$ = this.restrictedItemTypesService.restricted$.pipe( map((restrictedItemTypes) => // Filter out restricted item types from the typeFilters array