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: { addressModel: {
get: function () { get: function () {
return this.mobileLocationQuestionsModel.addressQuestions; return this.mobileLocationQuestionsInput.addressQuestions;
}, },
}, },
_isVehicleProtected: { _isVehicleProtected: {

View file

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