fix: Hide deleted messages on widget side (#2614)

This commit is contained in:
Muhsin Keloth
2021-07-15 14:27:37 +05:30
committed by GitHub
parent cf785123a5
commit b56512eb56
13 changed files with 222 additions and 54 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
);
},
},
};