mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	fix: Array length check (#1300)
This commit is contained in:
		@@ -56,7 +56,7 @@ export default {
 | 
				
			|||||||
  computed: {
 | 
					  computed: {
 | 
				
			||||||
    isActive() {
 | 
					    isActive() {
 | 
				
			||||||
      const { key } = this.channel;
 | 
					      const { key } = this.channel;
 | 
				
			||||||
      if (Object.keys(this.enabledFeatures) === 0) {
 | 
					      if (Object.keys(this.enabledFeatures).length === 0) {
 | 
				
			||||||
        return false;
 | 
					        return false;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      if (key === 'facebook') {
 | 
					      if (key === 'facebook') {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user