1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 14:34:02 +00:00

Remove unneeded check

This commit is contained in:
Bernd Schoolmann
2024-12-06 10:40:07 +01:00
parent b19fa07d4a
commit 8495c07c18

View File

@@ -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),