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

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

When creating a new vault item in the My Vault filter owner would not be set.

(cherry picked from commit a4355dbcab)
This commit is contained in:
Oscar Hinton
2026-01-29 17:49:04 +01:00
committed by GitHub
parent 1e83f6f446
commit 3416977dad

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