CSR-1559 prettier
This commit is contained in:
parent
39436c533d
commit
2f5d348bba
1 changed files with 1 additions and 3 deletions
|
|
@ -1673,9 +1673,7 @@ export const actions = {
|
||||||
{ isSelectedGlassAvailableForVehicle, vehicleInfo, registrationInfo }
|
{ isSelectedGlassAvailableForVehicle, vehicleInfo, registrationInfo }
|
||||||
) {
|
) {
|
||||||
//Reset dependent state when changing
|
//Reset dependent state when changing
|
||||||
if (
|
if (vehicleInfo.vin !== context.state.order.vehicle.vin) {
|
||||||
vehicleInfo.vin !== context.state.order.vehicle.vin
|
|
||||||
) {
|
|
||||||
context.dispatch(storeActions.RESET_REGISTRATION_STATE_AND_DEPENDENCIES);
|
context.dispatch(storeActions.RESET_REGISTRATION_STATE_AND_DEPENDENCIES);
|
||||||
|
|
||||||
if (!isSelectedGlassAvailableForVehicle) {
|
if (!isSelectedGlassAvailableForVehicle) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue