mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-27 02:42:11 +00:00
Spaces search fix (#1160)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
294d6c5732
commit
3ee999fb7e
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
const dispatch = createEventDispatcher()
|
const dispatch = createEventDispatcher()
|
||||||
const query = createQuery()
|
const query = createQuery()
|
||||||
$: query.query(_class, { ...(spaceQuery ?? {}) }, result => { objects = result })
|
$: query.query(_class, { ...(spaceQuery ?? {}), name: { $like: '%' + search + '%' } }, result => { objects = result })
|
||||||
afterUpdate(() => { dispatch('update', Date.now()) })
|
afterUpdate(() => { dispatch('update', Date.now()) })
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user