mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03: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(
|
||||
_class,
|
||||
{
|
||||
members: me,
|
||||
...(spaceQuery ?? {}),
|
||||
...(search !== undefined && search !== ''
|
||||
? {
|
||||
@ -59,7 +60,7 @@
|
||||
: {})
|
||||
},
|
||||
(res) => {
|
||||
spaces = res.filter((p) => !p.private || p.members.includes(me))
|
||||
spaces = res
|
||||
},
|
||||
spaceOptions
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user