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) {
|
||||
const emptyState = defaultState()
|
||||
Object.keys(state).forEach(key => {
|
||||
state[key] = emptyState[key]
|
||||
Object.entries(emptyState).forEach(([key, value]) => {
|
||||
state[key] = value
|
||||
})
|
||||
},
|
||||
clearTimeline (state, { timeline }) {
|
||||
|
|
Loading…
Reference in a new issue