mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
ensure favorites is included in vault filters (#15166)
This commit is contained in:
@@ -303,7 +303,7 @@ export class VaultFilterComponent implements OnInit, OnDestroy {
|
|||||||
.map((r) => r.cipherType);
|
.map((r) => r.cipherType);
|
||||||
const toExclude = [...excludeTypes, ...restrictedByAll];
|
const toExclude = [...excludeTypes, ...restrictedByAll];
|
||||||
return this.allTypeFilters.filter(
|
return this.allTypeFilters.filter(
|
||||||
(f) => typeof f.type !== "string" && !toExclude.includes(f.type),
|
(f) => typeof f.type === "string" || !toExclude.includes(f.type),
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
switchMap((allowed) => this.vaultFilterService.buildTypeTree(allFilter, allowed)),
|
switchMap((allowed) => this.vaultFilterService.buildTypeTree(allFilter, allowed)),
|
||||||
|
|||||||
Reference in New Issue
Block a user