diff --git a/app/javascript/dashboard/components-next/message/bubbles/Base.vue b/app/javascript/dashboard/components-next/message/bubbles/Base.vue index ee8faf71d..afa12905c 100644 --- a/app/javascript/dashboard/components-next/message/bubbles/Base.vue +++ b/app/javascript/dashboard/components-next/message/bubbles/Base.vue @@ -54,7 +54,7 @@ const previewMessage = computed(() => { const { content, attachments } = inReplyTo; if (content) return content; - if (attachments.length) { + if (attachments?.length) { const [{ fileType } = {}] = inReplyTo.attachments; return t(`CHAT_LIST.ATTACHMENTS.${fileType}.CONTENT`); }