CSR-1438
If a customer navigates backwards and clears their email, we send an empty string to save-session which will fail validation. Pass nulls instead
This commit is contained in:
parent
4938e65379
commit
5a97dc611b
1 changed files with 1 additions and 1 deletions
|
|
@ -1945,7 +1945,7 @@ export const actions = {
|
|||
},
|
||||
|
||||
saveEmail(context, email) {
|
||||
context.commit(storeMutations.UPDATE_CUSTOMER_EMAIL_ADDRESS, email);
|
||||
context.commit(storeMutations.UPDATE_CUSTOMER_EMAIL_ADDRESS, email === "" ? null : email);
|
||||
},
|
||||
|
||||
saveVin(context, { isSelectedGlassAvailableForVehicle, vehicleInfo }) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue