Show all channels and directs in navigator (#6180)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina 2024-07-30 11:50:08 +04:00 committed by Andrey Sobolev
parent 51ae72b5cb
commit 1b999e10c5
No known key found for this signature in database
GPG Key ID: BD80F68D68D8F7F2

View File

@ -87,7 +87,7 @@
const ids = ctx.map(({ attachedTo }) => attachedTo)
const { query, limit } = objectsQueryByClass.get(_class) ?? {
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 })