mirror of
https://github.com/hcengineering/platform.git
synced 2025-03-22 07:28:39 +00:00
Show all channels and directs in navigator (#6180)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
51ae72b5cb
commit
1b999e10c5
@ -87,7 +87,7 @@
|
|||||||
const ids = ctx.map(({ attachedTo }) => attachedTo)
|
const ids = ctx.map(({ attachedTo }) => attachedTo)
|
||||||
const { query, limit } = objectsQueryByClass.get(_class) ?? {
|
const { query, limit } = objectsQueryByClass.get(_class) ?? {
|
||||||
query: createQuery(),
|
query: createQuery(),
|
||||||
limit: model.maxSectionItems ?? 5
|
limit: hierarchy.isDerived(_class, chunter.class.ChunterSpace) ? -1 : model.maxSectionItems ?? 5
|
||||||
}
|
}
|
||||||
|
|
||||||
objectsQueryByClass.set(_class, { query, limit: limit ?? model.maxSectionItems ?? 5 })
|
objectsQueryByClass.set(_class, { query, limit: limit ?? model.maxSectionItems ?? 5 })
|
||||||
|
Loading…
Reference in New Issue
Block a user