Bugfix Load Locked Bar
Wenn dier Baransicht gespeert ist und man die Seite neu lädt, wird jetzt auch angezeigt, dass die Baransicht gespeert ist.
This commit is contained in:
parent
cc39796243
commit
1cd823f44e
|
@ -361,6 +361,9 @@ const actions = {
|
|||
}
|
||||
}
|
||||
},
|
||||
setLockStatus({ commit }, status) {
|
||||
commit('setLocked', status)
|
||||
},
|
||||
setFilter({ commit }, data) {
|
||||
commit('setFilter', data)
|
||||
},
|
||||
|
|
|
@ -165,6 +165,9 @@ const actions = {
|
|||
user.group = response.data.group
|
||||
localStorage.setItem('user', JSON.stringify(user))
|
||||
commit('updateAccessToken', user)
|
||||
dispatch('barUsers/setLockStatus', response.data.lock_bar, {
|
||||
root: true
|
||||
})
|
||||
} catch (e) {
|
||||
if (e.message == 'Network Error') {
|
||||
dispatch('connectionError/addError', null, { root: true })
|
||||
|
|
Loading…
Reference in New Issue