revert: "chore: Replace messageMixing with useMessage composable [CW-3475]" (#10011)

Reverts chatwoot/chatwoot#9942

This was causing the widget email input to break
This commit is contained in:
Shivam Mishra
2024-08-22 19:41:11 +05:30
committed by GitHub
parent 7c2353c7d9
commit a48f98de9d
6 changed files with 54 additions and 111 deletions

View File

@@ -0,0 +1,13 @@
export default {
computed: {
messageContentAttributes() {
const { content_attributes: attribute = {} } = this.message;
return attribute;
},
hasAttachments() {
return !!(
this.message.attachments && this.message.attachments.length > 0
);
},
},
};