#392: update object.entries

This commit is contained in:
dave 2019-02-28 14:44:43 -05:00
parent f5adb62e2e
commit bbe1821be7

View File

@ -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 }) {