address model setter fixes

This commit is contained in:
Matt Caimi 2023-02-13 10:29:12 -05:00
parent dc86629869
commit 68c9025733
2 changed files with 6 additions and 6 deletions

View file

@ -136,7 +136,7 @@ export default {
},
addressModel: {
get: function () {
return this.mobileLocationQuestionsModel.addressQuestions;
return this.mobileLocationQuestionsInput.addressQuestions;
},
},
_isVehicleProtected: {

View file

@ -100,11 +100,11 @@ export default {
};
},
set: function (newValue) {
this.streetAddress = newValue.streetAddress;
this.apartmentNumberOrBusinessName = newValue.apartmentNumberOrBusinessName;
this.city = newValue.city;
this.state = newValue.state;
this.zipCode = newValue.zipCode;
this.streetAddress = newValue.addressQuestions.streetAddress;
this.apartmentNumberOrBusinessName = newValue.addressQuestions.apartmentNumberOrBusinessName;
this.city = newValue.addressQuestions.city;
this.state = newValue.addressQuestions.state;
this.zipCode = newValue.addressQuestions.zipCode;
},
},
},