From 67d63e5d28dcf81c7cdbdd9b1d002c4d601f347d Mon Sep 17 00:00:00 2001 From: Anna No Date: Fri, 3 Nov 2023 15:35:31 +0700 Subject: [PATCH] EZQMS-350: fix reactions in threads (#3935) Signed-off-by: Anna No --- plugins/chunter-resources/src/components/Thread.svelte | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugins/chunter-resources/src/components/Thread.svelte b/plugins/chunter-resources/src/components/Thread.svelte index d4879508a9..fd5a46e030 100644 --- a/plugins/chunter-resources/src/components/Thread.svelte +++ b/plugins/chunter-resources/src/components/Thread.svelte @@ -46,7 +46,7 @@ const dispatch = createEventDispatcher() const lookup = { - _id: { attachments: attachment.class.Attachment }, + _id: { attachments: attachment.class.Attachment, reactions: chunter.class.Reaction }, createBy: core.class.Account } @@ -67,10 +67,7 @@ }, (res) => (parent = res[0]), { - lookup: { - _id: { attachments: attachment.class.Attachment }, - createBy: core.class.Account - } + lookup } ) }