From fd7c577df6e57677e3fdb9f05a035ee7fe09d4fd Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Fri, 7 Apr 2023 11:40:46 -0400 Subject: [PATCH] Added providerNumber datum and now nulling it out when service-zip changes from changing the mobile location zip --- src/layouts/service-location/service-location.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 45a5011ef..1e5ffa384 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -222,11 +222,11 @@ export default { this.zipCode = newValue.addressQuestions.zipCode; this.isVehicleProtected = newValue.isVehicleProtected; - if ( - newValue.zipCode !== this.zipCode && - !this.selectedAppointmentType == "Mobile" - ) { - this.selectedAppointmentType = null; + if (newValue.zipCode !== this.zipCode) { + if (!this.selectedAppointmentType == "Mobile") { + this.selectedAppointmentType = null; + } + this.providerNumber = null; } }, },