mirror of
https://github.com/crater-invoice/crater.git
synced 2026-02-10 12:52:41 -05: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