Fixes credential form test button (#12844)

This commit is contained in:
Alex Corey 2022-09-23 11:07:01 -04:00 committed by GitHub
parent ff6fb32297
commit 93f50b5211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -234,7 +234,7 @@ function CredentialForm({
name: credential.name || '',
description: credential.description || '',
organization: credential?.summary_fields?.organization || null,
credential_type: credentialTypes[initialTypeId]?.name || '',
credential_type: credentialTypes[initialTypeId]?.id || '',
inputs: { ...credential?.inputs },
passwordPrompts: {},
isOrgLookupDisabled: isOrgLookupDisabled || false,