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:
committed by
GitHub
parent
9ec6f45803
commit
ea2f95e226
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user