mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-29 21:15:06 +02:00
Query update fix (#728)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
@@ -26,12 +26,12 @@
|
||||
export let config: string[]
|
||||
export let search: string = ''
|
||||
|
||||
$: query = search === '' ? { space } : { $search: search, space }
|
||||
$: resultQuery = search === '' ? { space, ...query } : { $search: search, space, ...query }
|
||||
</script>
|
||||
|
||||
<div class="tableview-container">
|
||||
<ScrollBox vertical stretch noShift>
|
||||
<Table {_class} {config} {options} {query} {baseMenuClass} enableChecking />
|
||||
<Table {_class} {config} {options} query={resultQuery} {baseMenuClass} enableChecking />
|
||||
</ScrollBox>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user