mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-29 08:20:25 +01:00
hide the merge collections import btn if no schema is specified
This commit is contained in:
1 parent
2662d875b9
commit
6aaf98215d
32 files changed
+94
-92
No files matched your search
@@ -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