mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 05:31:10 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			194 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			194 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import * as types from './mutation-types'
 | |
| 
 | |
| export default {
 | |
|   [types.SET_USER] (state, data) {
 | |
|     state.user = data.user
 | |
|   },
 | |
| 
 | |
|   [types.UPDATE_USER] (state, data) {
 | |
|     state.user = data
 | |
|   }
 | |
| }
 |