forked from AkkomaGang/akkoma-fe
#392: update object.entries
This commit is contained in:
parent
f5adb62e2e
commit
bbe1821be7
1 changed files with 2 additions and 2 deletions
|
@ -327,8 +327,8 @@ export const mutations = {
|
||||||
},
|
},
|
||||||
resetStatuses (state) {
|
resetStatuses (state) {
|
||||||
const emptyState = defaultState()
|
const emptyState = defaultState()
|
||||||
Object.keys(state).forEach(key => {
|
Object.entries(emptyState).forEach(([key, value]) => {
|
||||||
state[key] = emptyState[key]
|
state[key] = value
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
clearTimeline (state, { timeline }) {
|
clearTimeline (state, { timeline }) {
|
||||||
|
|
Loading…
Reference in a new issue