mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			298 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 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
 | 
						|
      );
 | 
						|
    },
 | 
						|
  },
 | 
						|
};
 |