Edits
This commit is contained in:
parent
f9dc366b84
commit
cf5ad1a884
1 changed files with 0 additions and 12 deletions
|
|
@ -121,17 +121,6 @@ export default {
|
||||||
//Call APIs
|
//Call APIs
|
||||||
const cmsContentPromise = fetchCmsContentForPage(to.query.fmgPage);
|
const cmsContentPromise = fetchCmsContentForPage(to.query.fmgPage);
|
||||||
|
|
||||||
const queryString = window.location.search;
|
|
||||||
const urlParams = new URLSearchParams(queryString);
|
|
||||||
const lowerCaseParams = new URLSearchParams();
|
|
||||||
for (const [name, value] of urlParams) {
|
|
||||||
lowerCaseParams.append(name.toLowerCase(), value);
|
|
||||||
}
|
|
||||||
|
|
||||||
const zip = lowerCaseParams.get(queryStrings.ZIP_CODE)
|
|
||||||
? lowerCaseParams.get(queryStrings.ZIP_CODE)
|
|
||||||
: store.getters.order.serviceLocation.zipCode;
|
|
||||||
|
|
||||||
//Settle promises and get results
|
//Settle promises and get results
|
||||||
const promiseResultMap = [
|
const promiseResultMap = [
|
||||||
{
|
{
|
||||||
|
|
@ -154,7 +143,6 @@ export default {
|
||||||
return store.getters.order.customer.emailAddress;
|
return store.getters.order.customer.emailAddress;
|
||||||
},
|
},
|
||||||
arePagePrerequisitesValid() {
|
arePagePrerequisitesValid() {
|
||||||
// TODO: REASSESS
|
|
||||||
return store.getters.damage.isRepair || store.getters.damage.glassToReplace?.length > 0;
|
return store.getters.damage.isRepair || store.getters.damage.glassToReplace?.length > 0;
|
||||||
},
|
},
|
||||||
async backButtonAction() {
|
async backButtonAction() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue