Skip to content

Commit

Permalink
fix(vue2): vuex state not updating, closes #1703
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Feb 11, 2022
1 parent 0cb54b2 commit 985d0c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app-backend-vue2/src/plugin.ts
Expand Up @@ -418,10 +418,10 @@ function formatStoreForInspectorState (module, getters, path): CustomInspectorSt
getters = !module.namespaced || path === 'root' ? module.context.getters : getters[path]
const gettersKeys = Object.keys(getters)
const storeState: CustomInspectorState = {
state: Object.keys(module.state).map((key) => ({
state: Object.keys(module.context.state).map((key) => ({
key,
editable: true,
value: module.state[key],
value: module.context.state[key],
})),
}

Expand Down

0 comments on commit 985d0c8

Please sign in to comment.