hide the merge collections import btn if no schema is specified
This commit is contained in:
@@ -297,15 +297,17 @@
|
||||
{/if}
|
||||
</Field>
|
||||
|
||||
<Field class="form-field form-field-toggle" let:uniqueId>
|
||||
<input
|
||||
type="checkbox"
|
||||
id={uniqueId}
|
||||
bind:checked={mergeWithOldCollections}
|
||||
disabled={!isValid}
|
||||
/>
|
||||
<label for={uniqueId}>Merge with the existing collections</label>
|
||||
</Field>
|
||||
{#if newCollections.length}
|
||||
<Field class="form-field form-field-toggle" let:uniqueId>
|
||||
<input
|
||||
type="checkbox"
|
||||
id={uniqueId}
|
||||
bind:checked={mergeWithOldCollections}
|
||||
disabled={!isValid}
|
||||
/>
|
||||
<label for={uniqueId}>Merge with the existing collections</label>
|
||||
</Field>
|
||||
{/if}
|
||||
|
||||
{#if false}
|
||||
<!-- for now hide the explicit delete control and eventually enable/remove based on the users feedback -->
|
||||
|
||||
Reference in New Issue
Block a user