mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 13:41:09 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			231 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			231 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import * as types from './mutation-types'
 | |
| import Ls from '@/services/ls'
 | |
| 
 | |
| export const setSelectedCompany = ({ commit, dispatch, state }, data) => {
 | |
|   Ls.set('selectedCompany', data.id)
 | |
|   commit(types.SET_SELECTED_COMPANY, data)
 | |
| }
 |