1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-14 15:33:55 +00:00

fixed filter route not being preserved when clicking on vault item

This commit is contained in:
Leslie Xiong
2025-12-11 10:39:17 -05:00
parent 1c4deaab94
commit 6e74bf8511

View File

@@ -922,19 +922,13 @@ export class VaultComponent implements OnInit, OnDestroy, CopyClickListener {
queryParams = {
action: this.action,
cipherId: this.cipherId,
favorites: this.favorites ? true : null,
type: this.type,
folderId: this.folderId,
collectionId: this.collectionId,
deleted: this.deleted ? true : null,
organizationId: this.organizationId,
myVaultOnly: this.myVaultOnly,
};
}
this.router
.navigate([], {
relativeTo: this.route,
queryParams: queryParams,
queryParamsHandling: "merge",
replaceUrl: true,
})
.catch(() => {});