Skip to content

Commit 5c67b26

Browse files
Guillaume Chausp1ker
Guillaume Chau
authored andcommitted
fix(vuex): use a special object key for modules, closes vuejs#1098
1 parent 9255093 commit 5c67b26

File tree

1 file changed

+1
-1
lines changed
  • packages/app-frontend/src/views/vuex

1 file changed

+1
-1
lines changed

packages/app-frontend/src/views/vuex/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function processInspectedState ({ entry, data, inspectedModule }) {
212212
const parts = key.split('/')
213213
let parent = getterGroups
214214
for (let p = 0; p < parts.length - 1; p++) {
215-
const part = parts[p]
215+
const part = `${parts[p]}: Module`
216216
parent = parent[part] = parent[part] || {
217217
_custom: {
218218
value: {},

0 commit comments

Comments
 (0)