From 8495c07c1836ce9b69ad624b41eaf07edc955a65 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Fri, 6 Dec 2024 10:40:07 +0100 Subject: [PATCH] Remove unneeded check --- .../vault-item-dialog/vault-item-dialog.component.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/web/src/app/vault/components/vault-item-dialog/vault-item-dialog.component.ts b/apps/web/src/app/vault/components/vault-item-dialog/vault-item-dialog.component.ts index 032beaaadb9..27f5efd8aa6 100644 --- a/apps/web/src/app/vault/components/vault-item-dialog/vault-item-dialog.component.ts +++ b/apps/web/src/app/vault/components/vault-item-dialog/vault-item-dialog.component.ts @@ -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),