1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-01 01:03:39 +00:00

Ensure a selected collectionId in the vault filter is passed on to a newly created cipher.

Fixes #15485
This commit is contained in:
Daniel James Smith
2025-12-05 15:11:28 +01:00
parent f4bdb15e36
commit 8e9d07f870

View File

@@ -34,7 +34,7 @@ import { MessagingService } from "@bitwarden/common/platform/abstractions/messag
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
import { getByIds } from "@bitwarden/common/platform/misc";
import { SyncService } from "@bitwarden/common/platform/sync";
import { CipherId, OrganizationId, UserId } from "@bitwarden/common/types/guid";
import { CipherId, CollectionId, OrganizationId, UserId } from "@bitwarden/common/types/guid";
import { CipherArchiveService } from "@bitwarden/common/vault/abstractions/cipher-archive.service";
import { CipherService } from "@bitwarden/common/vault/abstractions/cipher.service";
import { FolderService } from "@bitwarden/common/vault/abstractions/folder/folder.service.abstraction";
@@ -995,6 +995,7 @@ export class VaultV2Component<C extends CipherViewLike>
...this.config.initialValues,
organizationId: this.addOrganizationId as OrganizationId,
folderId: this.folderId,
collectionIds: this.addCollectionIds as CollectionId[],
};
}