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

fix: Add new item should set item type (bitwarden#10994) (#11049)

Co-authored-by: cd-bitwarden <106776772+cd-bitwarden@users.noreply.github.com>
This commit is contained in:
Chandra Mauli Sharma
2024-11-13 01:07:44 +05:30
committed by GitHub
parent 9ec6f45803
commit ea2f95e226

View File

@@ -428,7 +428,7 @@ export class VaultComponent implements OnInit, OnDestroy {
return;
}
this.addType = type;
this.addType = type || this.activeFilter.cipherType;
this.action = "add";
this.cipherId = null;
this.prefillNewCipherFromFilter();