mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
mongo better UX
This commit is contained in:
parent
dc31552f9e
commit
ded0c8398c
@ -1498,12 +1498,16 @@
|
|||||||
<div>
|
<div>
|
||||||
<ErrorInfo
|
<ErrorInfo
|
||||||
alignTop
|
alignTop
|
||||||
message="No rows loaded, check filter or add new documents. You could copy documents from ohter collections/tables with Copy advanved/Copy as JSON command."
|
message={grider.editable
|
||||||
|
? 'No rows loaded, check filter or add new documents. You could copy documents from ohter collections/tables with Copy advanved/Copy as JSON command.'
|
||||||
|
: 'No rows loaded'}
|
||||||
/>
|
/>
|
||||||
{#if display.filterCount > 0}
|
{#if display.filterCount > 0}
|
||||||
<FormStyledButton value="Reset filter" on:click={() => display.clearFilters()} />
|
<FormStyledButton value="Reset filter" on:click={() => display.clearFilters()} />
|
||||||
{/if}
|
{/if}
|
||||||
<FormStyledButton value="Add document" on:click={addJsonDocument} />
|
{#if grider.editable}
|
||||||
|
<FormStyledButton value="Add document" on:click={addJsonDocument} />
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{:else if grider.errors && grider.errors.length > 0}
|
{:else if grider.errors && grider.errors.length > 0}
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
Reference in New Issue
Block a user