1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 11:13:46 +00:00

[PM-21554] - Creating a new item while editing edits the item (#14770)

* fix adding new cipher while editing a cipher

* don't set updatedCipherView if the cached cipher has an id and the new one doesn't

* fix cipher form config
This commit is contained in:
Jordan Aasen
2025-05-15 10:09:51 -07:00
committed by GitHub
parent ac49e594c1
commit b30faeb62b
2 changed files with 1 additions and 5 deletions

View File

@@ -538,6 +538,7 @@ export class VaultV2Component implements OnInit, OnDestroy {
}
this.addType = type || this.activeFilter.cipherType;
this.cipher = new CipherView();
this.cipherId = null;
await this.buildFormConfig("add");
this.action = "add";
this.prefillCipherFromFilter();