mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	init crater
This commit is contained in:
		
							
								
								
									
										11
									
								
								resources/assets/js/store/modules/company/mutations.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								resources/assets/js/store/modules/company/mutations.js
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| import * as types from './mutation-types' | ||||
|  | ||||
| export default { | ||||
|   [types.BOOTSTRAP_COMPANIES] (state, companies) { | ||||
|     state.companies = companies | ||||
|     state.selectedCompany = companies[0] | ||||
|   }, | ||||
|   [types.SET_SELECTED_COMPANY] (state, company) { | ||||
|     state.selectedCompany = company | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user