feat: handle attachments in ReplyToMessage

This commit is contained in:
Shivam Mishra
2023-10-10 19:20:29 +05:30
parent d26959f57c
commit 1dcaec1186
@@ -2,18 +2,18 @@
import { computed } from 'vue';
import { extractTextFromMarkdown } from 'dashboard/helper/editorHelper';
const { messageContent } = defineProps({
const { content } = defineProps({
messageId: {
type: Number,
required: true,
},
messageContent: {
content: {
type: String,
default: '',
},
});
const cleanedContent = computed(() => extractTextFromMarkdown(messageContent));
const cleanedContent = computed(() => extractTextFromMarkdown(content));
</script>
<template>