From 5f7f18b1877d221f5e97ea3d70664265c6257959 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 20 Apr 2021 13:40:08 +0100 Subject: [PATCH] Fix create table modal --- .../TableNavigator/TableDataImport.svelte | 13 ++++++--- .../modals/CreateTableModal.svelte | 28 +++++++------------ 2 files changed, 19 insertions(+), 22 deletions(-) diff --git a/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte b/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte index 806961476e..da45dcc4ef 100644 --- a/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte +++ b/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte @@ -117,8 +117,8 @@ {#if files[0]}{files[0].name}{:else}Upload{/if} -
- {#if fields.length} +{#if fields.length} +
{#each fields as columnName}
{columnName} @@ -137,8 +137,9 @@ on:click={() => omitColumn(columnName)} />
{/each} - {/if} -
+
+{/if} + {#if fields.length}