mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	chore: Update conversation sidebar items default order (#3381)
This commit is contained in:
		@@ -118,10 +118,10 @@ describe('uiSettingsMixin', () => {
 | 
				
			|||||||
      };
 | 
					      };
 | 
				
			||||||
      const wrapper = shallowMount(Component, { store, localVue });
 | 
					      const wrapper = shallowMount(Component, { store, localVue });
 | 
				
			||||||
      expect(wrapper.vm.conversationSidebarItemsOrder).toEqual([
 | 
					      expect(wrapper.vm.conversationSidebarItemsOrder).toEqual([
 | 
				
			||||||
 | 
					        { name: 'conversation_actions' },
 | 
				
			||||||
        { name: 'conversation_info' },
 | 
					        { name: 'conversation_info' },
 | 
				
			||||||
        { name: 'contact_attributes' },
 | 
					        { name: 'contact_attributes' },
 | 
				
			||||||
        { name: 'previous_conversation' },
 | 
					        { name: 'previous_conversation' },
 | 
				
			||||||
        { name: 'conversation_actions' },
 | 
					 | 
				
			||||||
      ]);
 | 
					      ]);
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,9 @@
 | 
				
			|||||||
import { mapGetters } from 'vuex';
 | 
					import { mapGetters } from 'vuex';
 | 
				
			||||||
export const DEFAULT_CONVERSATION_SIDEBAR_ITEMS_ORDER = [
 | 
					export const DEFAULT_CONVERSATION_SIDEBAR_ITEMS_ORDER = [
 | 
				
			||||||
 | 
					  { name: 'conversation_actions' },
 | 
				
			||||||
  { name: 'conversation_info' },
 | 
					  { name: 'conversation_info' },
 | 
				
			||||||
  { name: 'contact_attributes' },
 | 
					  { name: 'contact_attributes' },
 | 
				
			||||||
  { name: 'previous_conversation' },
 | 
					  { name: 'previous_conversation' },
 | 
				
			||||||
  { name: 'conversation_actions' },
 | 
					 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
export const DEFAULT_CONTACT_SIDEBAR_ITEMS_ORDER = [
 | 
					export const DEFAULT_CONTACT_SIDEBAR_ITEMS_ORDER = [
 | 
				
			||||||
  { name: 'contact_attributes' },
 | 
					  { name: 'contact_attributes' },
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user