mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-29 11:31:32 +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
|
||||
|
||||
## 0.6.23
|
||||
|
||||
Platform:
|
||||
|
||||
- Fix first filter disappear
|
||||
|
||||
## 0.6.22
|
||||
|
||||
Platform:
|
||||
|
@ -56,9 +56,7 @@
|
||||
}}
|
||||
/>
|
||||
|
||||
{#if filters !== []}
|
||||
<FilterBar {_class} {query} bind:filters on:change={(e) => (resultQuery = e.detail)} />
|
||||
{/if}
|
||||
<FilterBar {_class} {query} bind:filters on:change={(e) => (resultQuery = e.detail)} />
|
||||
<Scroller tableFade>
|
||||
<Table
|
||||
bind:this={table}
|
||||
|
@ -30,7 +30,7 @@
|
||||
const hierarchy = client.getHierarchy()
|
||||
const dispatch = createEventDispatcher()
|
||||
|
||||
let maxIndex = filters ? filters.length : 0
|
||||
let maxIndex = 1
|
||||
// const allFilters: boolean = true
|
||||
|
||||
function onChange (e: Filter | undefined) {
|
||||
|
Loading…
Reference in New Issue
Block a user