mirror of
https://github.com/bitwarden/browser
synced 2026-02-12 14:34:02 +00:00
Remove unneeded check
This commit is contained in:
@@ -242,11 +242,6 @@ export class VaultItemDialogComponent implements OnInit, OnDestroy {
|
||||
async ngOnInit() {
|
||||
this.cipher = await this.getDecryptedCipherView(this.formConfig);
|
||||
|
||||
// todo: remove after ssh keys can be generated in UI
|
||||
if (this.formConfig.cipherType === CipherType.SshKey) {
|
||||
this.formConfig.cipherType = CipherType.Login;
|
||||
}
|
||||
|
||||
if (this.cipher) {
|
||||
this.collections = this.formConfig.collections.filter((c) =>
|
||||
this.cipher.collectionIds?.includes(c.id),
|
||||
|
||||
Reference in New Issue
Block a user