Fixing build unit test issues. Attempt #1
This commit is contained in:
parent
2912d11edb
commit
01a7005209
1 changed files with 5 additions and 3 deletions
|
|
@ -45,9 +45,11 @@ export default {
|
||||||
// Dump the query string parameters into an array. Remove casing on the key for easy compare.
|
// Dump the query string parameters into an array. Remove casing on the key for easy compare.
|
||||||
const queryStringParams = [];
|
const queryStringParams = [];
|
||||||
|
|
||||||
Object.keys(this.$route.query).forEach((param) => {
|
if (this.$route?.query) {
|
||||||
queryStringParams[param.toLowerCase()] = this.$route.query[param];
|
Object.keys(this.$route.query).forEach((param) => {
|
||||||
});
|
queryStringParams[param.toLowerCase()] = this.$route.query[param];
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
return queryStringParams;
|
return queryStringParams;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue