13 lines
298 B
JavaScript
13 lines
298 B
JavaScript
export default {
|
|
computed: {
|
|
messageContentAttributes() {
|
|
const { content_attributes: attribute = {} } = this.message;
|
|
return attribute;
|
|
},
|
|
hasAttachments() {
|
|
return !!(
|
|
this.message.attachments && this.message.attachments.length > 0
|
|
);
|
|
},
|
|
},
|
|
};
|