mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 20:51:09 -04:00
init crater
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user