mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	* Cleanup agent store and actions * Move set/create/update/destroy to helpers * Update mutation specs * Add specs for API helper * Fix edit/delete action visibility * Add actions specs * Remove unused API helpers * Remove duplicates * Remove duplicates * Fix duplicate
		
			
				
	
	
		
			26 lines
		
	
	
		
			591 B
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			591 B
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable File
		
	
	
	
	
import Vue from 'vue';
 | 
						|
import Vuex from 'vuex';
 | 
						|
 | 
						|
import agents from './modules/agents';
 | 
						|
import auth from './modules/auth';
 | 
						|
import billing from './modules/billing';
 | 
						|
import cannedResponse from './modules/cannedResponse';
 | 
						|
import Channel from './modules/channels';
 | 
						|
import conversations from './modules/conversations';
 | 
						|
import reports from './modules/reports';
 | 
						|
import sideMenuItems from './modules/sidebar';
 | 
						|
 | 
						|
Vue.use(Vuex);
 | 
						|
export default new Vuex.Store({
 | 
						|
  modules: {
 | 
						|
    agents,
 | 
						|
    auth,
 | 
						|
    billing,
 | 
						|
    cannedResponse,
 | 
						|
    Channel,
 | 
						|
    conversations,
 | 
						|
    reports,
 | 
						|
    sideMenuItems,
 | 
						|
  },
 | 
						|
});
 |