diff --git a/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte b/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte index 46c3d32708..343440231b 100644 --- a/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte +++ b/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte @@ -19,7 +19,10 @@ let fields = [] let hasValidated = false - $: valid = !schema || fields.every(column => schema[column].success) + $: valid = + !schema || + (fields.every(column => schema[column].success) && + Object.keys(schema).length > 0) $: dataImport = { valid, schema: buildTableSchema(schema),