1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-19 15:57:42 +01: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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();