Adding a check to disable the display column options when importing to an existing table as it makes no sense in this scenario.

This commit is contained in:
mike12345567 2021-11-15 14:15:14 +00:00
parent 0cf612029e
commit c85b1a5a0c
1 changed files with 10 additions and 8 deletions

View File

@ -156,14 +156,16 @@
</div>
{/each}
</div>
<div class="display-column">
<Select
label="Display Column"
bind:value={primaryDisplay}
options={fields}
sort
/>
</div>
{#if !existingTableId}
<div class="display-column">
<Select
label="Display Column"
bind:value={primaryDisplay}
options={fields}
sort
/>
</div>
{/if}
{:else if hasValidated}
<div>
<InlineAlert