csr-1853 prettier
This commit is contained in:
parent
3cd95431ff
commit
7783d233d2
1 changed files with 6 additions and 3 deletions
|
|
@ -479,7 +479,7 @@ export default {
|
||||||
async forwardButtonAction() {
|
async forwardButtonAction() {
|
||||||
// clear items not needed for appointmentType
|
// clear items not needed for appointmentType
|
||||||
if (this.selectedAppointmentType == AppointmentTypeStrings.IN_SHOP) {
|
if (this.selectedAppointmentType == AppointmentTypeStrings.IN_SHOP) {
|
||||||
// if we have a provider.zipCodeCtu that's different than the servicelocation.zipCodeCtu then they
|
// if we have a provider.zipCodeCtu that's different than the servicelocation.zipCodeCtu then they
|
||||||
// may have selected a shop in a different ctu. change the servicelocation zip/ctu if different
|
// may have selected a shop in a different ctu. change the servicelocation zip/ctu if different
|
||||||
if (this.zipCodeCtu != this.selectedProvider.address.zipCodeCtu) {
|
if (this.zipCodeCtu != this.selectedProvider.address.zipCodeCtu) {
|
||||||
this.zipCodeCtu = this.selectedProvider.address.zipCodeCtu;
|
this.zipCodeCtu = this.selectedProvider.address.zipCodeCtu;
|
||||||
|
|
@ -490,8 +490,11 @@ export default {
|
||||||
this.streetAddress = null;
|
this.streetAddress = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.selectedAppointmentType == AppointmentTypeStrings.MOBILE &&
|
if (
|
||||||
this.selectedProvider && this.selectedProvider.address) {
|
this.selectedAppointmentType == AppointmentTypeStrings.MOBILE &&
|
||||||
|
this.selectedProvider &&
|
||||||
|
this.selectedProvider.address
|
||||||
|
) {
|
||||||
this.selectedProvider.address.streetAddress = null;
|
this.selectedProvider.address.streetAddress = null;
|
||||||
this.selectedProvider.address.city = null;
|
this.selectedProvider.address.city = null;
|
||||||
this.selectedProvider.address.state = null;
|
this.selectedProvider.address.state = null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue