+
@@ -105,7 +107,6 @@ export default {
},
data() {
return {
- showAddressFields: false,
displayVerificationWarning: false,
displayNoMatchWarning: false,
alertHeadlineVerificationWarning: "",
@@ -135,16 +136,7 @@ export default {
},
methods: {
setupAddressLookup() {
- if (
- this.addressModel.streetAddress &&
- this.addressModel.city &&
- this.addressModel.state &&
- this.addressModel.zipCode
- ) {
- this.showAddressFields = true;
- return;
- }
-
+
const addressField1 = document.getElementById("autocomplete");
const self = this;
@@ -249,8 +241,7 @@ export default {
self.matchFound = true;
self.addressModel.streetAddress = "";
self.$nextTick(function () {
- self.showAddressFields = true;
-
+
for (const component of place.address_components) {
const componentType = component.types[0];
@@ -313,7 +304,6 @@ export default {
this.addressModel.city = "";
this.addressModel.state = "";
this.addressModel.zipCode = "";
- this.showAddressFields = true;
this.displayVerificationWarning = false;
this.$nextTick(function () {
diff --git a/src/layouts/address-lookup/customer-questions/customer-questions.vue b/src/layouts/address-lookup/customer-questions/customer-questions.vue
index 060be0a5..683cbf94 100644
--- a/src/layouts/address-lookup/customer-questions/customer-questions.vue
+++ b/src/layouts/address-lookup/customer-questions/customer-questions.vue
@@ -51,7 +51,6 @@ export default {
},
firstName: "",
lastName: "",
- emailAddress: "",
},
}),
},
diff --git a/src/store/index.js b/src/store/index.js
index 32fe6bc3..be588768 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -165,10 +165,11 @@ export const useMainStore = defineStore({
],
};
},
- experimentSettings: (state) =>
- state.applicationUser.experiments
+ experimentSettings: (state) => {
+ return state.applicationUser.experiments
.map((x) => x.settings)
.reduce((r, c) => Object.assign(r, c), {}) ?? {}
+ }
},
actions:
{