mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 00:10:37 +00:00
UBERF-5628: fix unexpected Reference object in Activity on mentions in description (#4753)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
973900a188
commit
a246b69558
@ -559,6 +559,19 @@ export function createModel (builder: Builder, options = { addApplication: true
|
||||
chunter.ids.BacklinkCreatedActivityViewlet
|
||||
)
|
||||
|
||||
builder.createDoc(
|
||||
activity.class.DocUpdateMessageViewlet,
|
||||
core.space.Model,
|
||||
{
|
||||
objectClass: chunter.class.Backlink,
|
||||
action: 'update',
|
||||
component: chunter.component.BacklinkContent,
|
||||
labelComponent: chunter.activity.BacklinkCreatedLabel,
|
||||
hideIfRemoved: true
|
||||
},
|
||||
chunter.ids.BacklinkUpdateActivityViewlet
|
||||
)
|
||||
|
||||
builder.createDoc(
|
||||
activity.class.DocUpdateMessageViewlet,
|
||||
core.space.Model,
|
||||
|
@ -89,6 +89,7 @@ export default mergeIds(chunterId, chunter, {
|
||||
TxChatMessageRemove: '' as Ref<TxViewlet>,
|
||||
ChunterNotificationGroup: '' as Ref<NotificationGroup>,
|
||||
BacklinkCreatedActivityViewlet: '' as Ref<DocUpdateMessageViewlet>,
|
||||
BacklinkUpdateActivityViewlet: '' as Ref<DocUpdateMessageViewlet>,
|
||||
BacklinkRemovedActivityViewlet: '' as Ref<DocUpdateMessageViewlet>
|
||||
},
|
||||
activity: {
|
||||
|
@ -343,6 +343,8 @@
|
||||
return
|
||||
}
|
||||
|
||||
updateSelectedDate()
|
||||
|
||||
if (selectedMessageId !== undefined && messages.some(({ _id }) => _id === selectedMessageId)) {
|
||||
isScrollInitialized = true
|
||||
await wait()
|
||||
@ -465,7 +467,7 @@
|
||||
{#if startFromBottom}
|
||||
<div class="grower" />
|
||||
{/if}
|
||||
{#if withDates && selectedDate}
|
||||
{#if withDates && displayMessages.length > 0}
|
||||
<div class="ml-2 pr-2">
|
||||
<JumpToDateSelector {selectedDate} fixed on:jumpToDate={jumpToDate} />
|
||||
</div>
|
||||
|
@ -59,6 +59,7 @@
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
margin: 0.25rem 0;
|
||||
height: 1.875rem;
|
||||
|
||||
&:not(:first-child)::after {
|
||||
position: absolute;
|
||||
|
Loading…
Reference in New Issue
Block a user