mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 12:47:45 +02:00
EZQMS-350: fix reactions in threads (#3935)
Signed-off-by: Anna No <anna.no@xored.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user