mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 18:34:01 +00:00
prevented display form filters twice
This commit is contained in:
@@ -186,7 +186,7 @@
|
||||
title="Filters"
|
||||
name="tableFilters"
|
||||
height={'15%'}
|
||||
skip={!display?.filterable || isDynamicStructure || display.filterCount == 0}
|
||||
skip={!display?.filterable || isDynamicStructure || display.filterCount == 0 || isFormView}
|
||||
collapsed={isDetailView}
|
||||
>
|
||||
<JsonViewFilters {...$$props} {managerSize} {isDynamicStructure} />
|
||||
|
||||
@@ -24,11 +24,12 @@
|
||||
<ColumnLabel {...column} />
|
||||
<InlineButton
|
||||
square
|
||||
narrow
|
||||
on:click={() => {
|
||||
formDisplay.removeFilter(column.uniqueName);
|
||||
}}
|
||||
>
|
||||
<FontIcon icon="icon delete" />
|
||||
<FontIcon icon="icon close" />
|
||||
</InlineButton>
|
||||
</div>
|
||||
<DataFilterControl
|
||||
|
||||
Reference in New Issue
Block a user