Revert "chore: Replace messageMixing with useMessage composable [CW-3475] (#9…"

This reverts commit c26490e9c1.
This commit is contained in:
Shivam Mishra
2024-08-22 18:13:23 +05:30
committed by GitHub
parent 7c2353c7d9
commit 4acdf47880
6 changed files with 54 additions and 111 deletions
@@ -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
);
},
},
};