diff --git a/libs/angular/src/vault/components/add-edit.component.ts b/libs/angular/src/vault/components/add-edit.component.ts index 0101e64fda2..e816a647e22 100644 --- a/libs/angular/src/vault/components/add-edit.component.ts +++ b/libs/angular/src/vault/components/add-edit.component.ts @@ -828,7 +828,9 @@ export class AddEditComponent implements OnInit, OnDestroy { }); return; } + continue; } + break; } this.cipher.sshKey.privateKey = parsedKey.private_key; diff --git a/libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts b/libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts index aeca74996d7..d070c4f50e6 100644 --- a/libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts +++ b/libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts @@ -121,7 +121,9 @@ export class SshKeySectionComponent implements OnInit { }); return; } + continue; } + break; } this.sshKeyForm.setValue({