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

Ensure "MyVault" is not identified as an organaization (#18643)

When creating a new vault item in the My Vault filter owner would not be set.
This commit is contained in:
Oscar Hinton
2026-01-29 16:21:46 +01:00
committed by GitHub
parent 2ada60d106
commit a4355dbcab

View File

@@ -953,7 +953,7 @@ export class VaultComponent implements OnInit, OnDestroy, CopyClickListener {
this.addOrganizationId = collections[0].organizationId;
this.addCollectionIds = [this.activeFilter.collectionId];
}
} else if (this.activeFilter.organizationId) {
} else if (this.activeFilter.organizationId && this.activeFilter.organizationId !== "MyVault") {
this.addOrganizationId = this.activeFilter.organizationId;
} else {
// clear out organizationId when the user switches to a personal vault filter