mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-17 13:54:11 +00:00
Fix spaces popup (#5559)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
60bc64f069
commit
5a63e0ea17
@ -51,6 +51,7 @@
|
|||||||
$: query.query(
|
$: query.query(
|
||||||
_class,
|
_class,
|
||||||
{
|
{
|
||||||
|
members: me,
|
||||||
...(spaceQuery ?? {}),
|
...(spaceQuery ?? {}),
|
||||||
...(search !== undefined && search !== ''
|
...(search !== undefined && search !== ''
|
||||||
? {
|
? {
|
||||||
@ -59,7 +60,7 @@
|
|||||||
: {})
|
: {})
|
||||||
},
|
},
|
||||||
(res) => {
|
(res) => {
|
||||||
spaces = res.filter((p) => !p.private || p.members.includes(me))
|
spaces = res
|
||||||
},
|
},
|
||||||
spaceOptions
|
spaceOptions
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user