mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 13:17:45 +02:00
Group activity by time in document sidebar and fix double show more (#6679)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -16,7 +16,12 @@
|
||||
-->
|
||||
<script lang="ts">
|
||||
import activity, { ActivityMessage } from '@hcengineering/activity'
|
||||
import { ActivityFilter, ActivityMessagePresenter, canGroupMessages } from '@hcengineering/activity-resources'
|
||||
import {
|
||||
ActivityFilter,
|
||||
ActivityMessagePresenter,
|
||||
canGroupMessages,
|
||||
combineActivityMessages
|
||||
} from '@hcengineering/activity-resources'
|
||||
import { SortingOrder } from '@hcengineering/core'
|
||||
import { Document } from '@hcengineering/document'
|
||||
import { createQuery } from '@hcengineering/presentation'
|
||||
@@ -33,7 +38,9 @@
|
||||
activity.class.ActivityMessage,
|
||||
{ attachedTo: value._id, space: value.space },
|
||||
(res) => {
|
||||
messages = res
|
||||
void combineActivityMessages(res).then((res) => {
|
||||
messages = res
|
||||
})
|
||||
},
|
||||
{
|
||||
sort: {
|
||||
|
||||
Reference in New Issue
Block a user