From 1b999e10c5c43523b48e5cfc76d76b5cdd16c940 Mon Sep 17 00:00:00 2001 From: Kristina Date: Tue, 30 Jul 2024 11:50:08 +0400 Subject: [PATCH] Show all channels and directs in navigator (#6180) Signed-off-by: Kristina Fefelova --- .../src/components/chat/navigator/ChatNavGroup.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/chunter-resources/src/components/chat/navigator/ChatNavGroup.svelte b/plugins/chunter-resources/src/components/chat/navigator/ChatNavGroup.svelte index 9d2a945af4..51511eb35b 100644 --- a/plugins/chunter-resources/src/components/chat/navigator/ChatNavGroup.svelte +++ b/plugins/chunter-resources/src/components/chat/navigator/ChatNavGroup.svelte @@ -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 })