diff --git a/app/javascript/dashboard/components-next/message/bubbles/Base.vue b/app/javascript/dashboard/components-next/message/bubbles/Base.vue index 949f5b024..3bc912713 100644 --- a/app/javascript/dashboard/components-next/message/bubbles/Base.vue +++ b/app/javascript/dashboard/components-next/message/bubbles/Base.vue @@ -58,14 +58,14 @@ const messageClass = computed(() => { const scrollToMessage = () => { emitter.emit(BUS_EVENTS.SCROLL_TO_MESSAGE, { - messageId: this.message.id, + messageId: inReplyTo.value.id, }); }; -const previewMessage = computed(() => { +const replyToPreview = computed(() => { if (!inReplyTo) return ''; - const { content, attachments } = inReplyTo; + const { content, attachments } = inReplyTo.value; if (content) return content; if (attachments?.length) { @@ -91,11 +91,11 @@ const previewMessage = computed(() => { >
- {{ previewMessage }} + {{ replyToPreview }}