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> </div>
{/each} {/each}
</div> </div>
<div class="display-column"> {#if !existingTableId}
<Select <div class="display-column">
label="Display Column" <Select
bind:value={primaryDisplay} label="Display Column"
options={fields} bind:value={primaryDisplay}
sort options={fields}
/> sort
</div> />
</div>
{/if}
{:else if hasValidated} {:else if hasValidated}
<div> <div>
<InlineAlert <InlineAlert