diff --git a/src/constants/query-strings.js b/src/constants/query-strings.js index c1cfb957..40b50e50 100644 --- a/src/constants/query-strings.js +++ b/src/constants/query-strings.js @@ -1,5 +1,5 @@ const queryStrings = { - ISS_PAGE: 'issPage' + ISS_PAGE: 'issPage', }; export { queryStrings }; \ No newline at end of file diff --git a/src/layouts/entry-page/entry-page.vue b/src/layouts/entry-page/entry-page.vue index 6154f950..e3c6d718 100644 --- a/src/layouts/entry-page/entry-page.vue +++ b/src/layouts/entry-page/entry-page.vue @@ -33,15 +33,17 @@ this.$route ); }, - async validateClientTagOnEntry() { - + parseQueryParms() { // Dump the query string parameters into an array. Remove casing on the key for easy compare. let queryStringParams = []; for ( let param in this.$route.query) { queryStringParams[param.toLowerCase()] = this.$route.query[param]; } - + return queryStringParams; + }, + async validateClientTagOnEntry() { + const queryStringParams = this.parseQueryParms(); const clientTag = queryStringParams["clienttag"]; const clientTagPresent = !!clientTag; let authorized = false; diff --git a/src/iss-components/vehicle-question/vehicle-question.vue b/src/layouts/vehicle-selection/vehicle-question/vehicle-question.vue similarity index 65% rename from src/iss-components/vehicle-question/vehicle-question.vue rename to src/layouts/vehicle-selection/vehicle-question/vehicle-question.vue index b599d138..68143c8d 100644 --- a/src/iss-components/vehicle-question/vehicle-question.vue +++ b/src/layouts/vehicle-selection/vehicle-question/vehicle-question.vue @@ -1,6 +1,6 @@