mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
store token is actually set
This commit is contained in:
parent
cf89922946
commit
393c8000a4
@ -14,6 +14,9 @@ export const mutations = {
|
||||
resetOpenCreations: (state) => {
|
||||
state.openCreations = 0
|
||||
},
|
||||
token: (state, token) => {
|
||||
state.token = token
|
||||
}
|
||||
}
|
||||
|
||||
const store = new Vuex.Store({
|
||||
@ -23,7 +26,7 @@ const store = new Vuex.Store({
|
||||
}),
|
||||
],
|
||||
state: {
|
||||
token: 'some-valid-token',
|
||||
token: null,
|
||||
moderator: 'Dertest Moderator',
|
||||
openCreations: 0,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user