Revert "Catch missed path for resetting when zip changes"

This reverts commit c27b3d612c.
This commit is contained in:
Chloe Herd 2023-06-14 14:06:17 -04:00
parent c27b3d612c
commit c92ff4d1b5

View file

@ -1869,10 +1869,6 @@ export const actions = {
saveServiceLocation(context, serviceLocationInfo) {
if (context.state.order.serviceLocationInfo) {
if (serviceLocationInfo.zipCode !== context.state.order.serviceLocationInfo.zipCode) {
context.commit(storeMutations.RESET_SERVICE_LOCATION_APPOINTMENT_TYPE);
context.commit(storeMutations.RESET_SERVICE_LOCATION_PROVIDER);
context.commit(storeMutations.RESET_SERVICE_LOCATION_MOBILE_ADDRESS);
context.commit(storeMutations.RESET_SCHEDULE);
}