diff --git a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte index e6e9232e52..16ddf54af4 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte @@ -32,20 +32,30 @@ .map(([key]) => key) let addButton + + function getDisplayName(key) { + let name + if (schema[key]?.display) { + name = schema[key].display + } else { + name = key + } + return capitalise(name) + }
{#if !creating}
- +
{/if} {#each configKeys as configKey} {#if schema[configKey].type === "object"}
- + @@ -59,12 +69,12 @@ /> {:else if schema[configKey].type === "boolean"}
- +
{:else if schema[configKey].type === "longForm"}
- +