forked from CSGOWTF/csgowtf
some more refactoring
This commit is contained in:
@@ -4,9 +4,22 @@ export default createStore({
|
||||
state: {
|
||||
id64: '',
|
||||
vanityUrl: '',
|
||||
matchDetails: {}
|
||||
matchDetails: {},
|
||||
playerDetails: {}
|
||||
},
|
||||
mutations: {
|
||||
changeId64(state, payload) {
|
||||
state.id64 = payload.id
|
||||
},
|
||||
changeVanityUrl(state, payload) {
|
||||
state.vanityUrl = payload.id
|
||||
},
|
||||
changeMatchDetails(state, payload) {
|
||||
state.matchDetails = payload.data
|
||||
},
|
||||
changePlayerDetails(state, payload) {
|
||||
state.playerDetails = payload.data
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user