mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 13:41:09 -04:00 
			
		
		
		
	refactor initial data loading in dashboard
This commit is contained in:
		| @ -1,7 +1,5 @@ | ||||
| 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) | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user