Skip to content

Commit 3e70aeb

Browse files
bajzarpaAkryum
authored andcommitted
fix: fallback for store modules namespace map (#1095)
1 parent 36f6fc2 commit 3e70aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app-backend/src/vuex.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ class VuexBackend {
343343
return stringify({
344344
state: this.store.state,
345345
getters: getCatchedGetters(this.store),
346-
modules: Object.keys(this.store._modulesNamespaceMap)
346+
modules: Object.keys(this.store._modulesNamespaceMap || {})
347347
.map(m => m.substr(0, m.length - 1))
348348
.sort()
349349
})

0 commit comments

Comments
 (0)