mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-01 21:31:04 +00:00
Disappear filter fix (#1957)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
7479ec6ca7
commit
a12d5a3347
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.6.23
|
||||||
|
|
||||||
|
Platform:
|
||||||
|
|
||||||
|
- Fix first filter disappear
|
||||||
|
|
||||||
## 0.6.22
|
## 0.6.22
|
||||||
|
|
||||||
Platform:
|
Platform:
|
||||||
|
@ -56,9 +56,7 @@
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{#if filters !== []}
|
<FilterBar {_class} {query} bind:filters on:change={(e) => (resultQuery = e.detail)} />
|
||||||
<FilterBar {_class} {query} bind:filters on:change={(e) => (resultQuery = e.detail)} />
|
|
||||||
{/if}
|
|
||||||
<Scroller tableFade>
|
<Scroller tableFade>
|
||||||
<Table
|
<Table
|
||||||
bind:this={table}
|
bind:this={table}
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
const hierarchy = client.getHierarchy()
|
const hierarchy = client.getHierarchy()
|
||||||
const dispatch = createEventDispatcher()
|
const dispatch = createEventDispatcher()
|
||||||
|
|
||||||
let maxIndex = filters ? filters.length : 0
|
let maxIndex = 1
|
||||||
// const allFilters: boolean = true
|
// const allFilters: boolean = true
|
||||||
|
|
||||||
function onChange (e: Filter | undefined) {
|
function onChange (e: Filter | undefined) {
|
||||||
|
Loading…
Reference in New Issue
Block a user