diff --git a/libs/vault/src/cipher-form/components/custom-fields/add-edit-custom-field-dialog/add-edit-custom-field-dialog.component.ts b/libs/vault/src/cipher-form/components/custom-fields/add-edit-custom-field-dialog/add-edit-custom-field-dialog.component.ts index 7ddcf902d70..7d56db4366b 100644 --- a/libs/vault/src/cipher-form/components/custom-fields/add-edit-custom-field-dialog/add-edit-custom-field-dialog.component.ts +++ b/libs/vault/src/cipher-form/components/custom-fields/add-edit-custom-field-dialog/add-edit-custom-field-dialog.component.ts @@ -71,8 +71,11 @@ export class AddEditCustomFieldDialogComponent { if (this.data.disallowHiddenField && option.value === FieldType.Hidden) { return false; } - // Filter out the Linked field type for Secure Notes - if (this.data.cipherType === CipherType.SecureNote) { + // Filter out the Linked field type for Secure Notes and SSH Keys + if ( + this.data.cipherType === CipherType.SecureNote || + this.data.cipherType === CipherType.SshKey + ) { return option.value !== FieldType.Linked; }