match FMG until we figure out what the intent was.
This commit is contained in:
parent
9925fb5b35
commit
e004dc38ca
1 changed files with 3 additions and 1 deletions
|
|
@ -271,7 +271,9 @@ function getStoreValueFromString(str) {
|
|||
// eslint-disable-next-line no-restricted-syntax
|
||||
for (const s of str.split('.')) {
|
||||
if (s === 'getters') continue; // For backward compatibility
|
||||
if (typeof storeOrStateObject[s] !== 'undefined') {
|
||||
// TODO: I don't think this next line is doing what they think it's doing.
|
||||
// eslint-disable-next-line eqeqeq, valid-typeof
|
||||
if (typeof storeOrStateObject[s] != undefined) {
|
||||
storeOrStateObject = storeOrStateObject[s];
|
||||
} else {
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue