fix(vue-app): var names shadowing in chrome debugger (#7939)

* fix: var names shadowing in debug

* fix: new appropriate variable name

Co-authored-by: florent.catiau <florent.catiau@veepee.com>
This commit is contained in:
Florent Catiau-Tristant 2020-08-25 21:31:36 +02:00 committed by GitHub
parent 11646ba2f6
commit 51b037fea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,10 +94,10 @@ function resolveStoreModules (moduleData, filename) {
// If src is a known Vuex property // If src is a known Vuex property
if (VUEX_PROPERTIES.includes(moduleName)) { if (VUEX_PROPERTIES.includes(moduleName)) {
const property = moduleName const property = moduleName
const storeModule = getStoreModule(store, namespaces, { isProperty: true }) const propertyStoreModule = getStoreModule(store, namespaces, { isProperty: true })
// Replace state since it's a function // Replace state since it's a function
mergeProperty(storeModule, moduleData, property) mergeProperty(propertyStoreModule, moduleData, property)
return return
} }