mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 04:25:03 +02:00
UBERF-6464: update activity mentions display (#5339)
This commit is contained in:
@@ -315,10 +315,6 @@ export function createModel (builder: Builder): void {
|
||||
presenter: activity.component.ActivityReferencePreview
|
||||
})
|
||||
|
||||
builder.mixin(activity.class.DocUpdateMessage, core.class.Class, view.mixin.LinkProvider, {
|
||||
encode: activity.function.GetFragment
|
||||
})
|
||||
|
||||
builder.createDoc(
|
||||
activity.class.ActivityMessagesFilter,
|
||||
core.space.Model,
|
||||
|
||||
@@ -16,7 +16,6 @@ import { activityId, type ActivityMessage, type DocUpdateMessageViewlet } from '
|
||||
import activity from '@hcengineering/activity-resources/src/plugin'
|
||||
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
||||
import { type Doc, type Ref } from '@hcengineering/core'
|
||||
import type { Location } from '@hcengineering/ui'
|
||||
import { type ActionCategory } from '@hcengineering/view'
|
||||
import { type NotificationGroup, type NotificationType } from '@hcengineering/notification'
|
||||
|
||||
@@ -38,9 +37,6 @@ export default mergeIds(activityId, activity, {
|
||||
ActivityNotificationGroup: '' as Ref<NotificationGroup>,
|
||||
AddReactionNotification: '' as Ref<NotificationType>
|
||||
},
|
||||
function: {
|
||||
GetFragment: '' as Resource<(doc: Doc, props: Record<string, any>) => Promise<Location>>
|
||||
},
|
||||
category: {
|
||||
Activity: '' as Ref<ActionCategory>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user