Fix failing tests, lint errors, merge conflicts

This commit is contained in:
Bryan Housel
2018-07-09 11:17:57 -04:00
parent 4fda478f57
commit a52eeb9733
4 changed files with 19 additions and 17 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ export function utilStringQs(str) {
obj[parts[0]] = (null === parts[1]) ? '' : decodeURIComponent(parts[1]);
}
if (parts[0] === 'mvt') {
obj[parts[0]] = (parts[2] != undefined) ? (decodeURIComponent(parts[1]) + '=' + decodeURIComponent(parts[2])) : (decodeURIComponent(parts[1]));
obj[parts[0]] = (parts[2] !== undefined) ? (decodeURIComponent(parts[1]) + '=' + decodeURIComponent(parts[2])) : (decodeURIComponent(parts[1]));
}
return obj;
}, {});