Fixed bug where we were displaying 'Continue with ...' when the user had selected one of several of the same type of vehicle as the one entered on the YMM pages
This commit is contained in:
parent
1405c34ef6
commit
e8dad4f954
1 changed files with 5 additions and 1 deletions
|
|
@ -223,7 +223,11 @@ export default {
|
|||
handler() {
|
||||
// does this vehicle match the previously selected carId?
|
||||
this.isCarIdDifferent = this.selectedVehicle.vehicle.carId !== store.getters.vehicle.carId;
|
||||
this.$refs.funnelFooter.updateButtonText(`Continue with ${this.selectedVehicle.vehicle.year} ${this.selectedVehicle.vehicle.make} ${this.selectedVehicle.vehicle.model}`);
|
||||
if (this.isCarIdDifferent) {
|
||||
this.$refs.funnelFooter.updateButtonText(`Continue with ${this.selectedVehicle.vehicle.year} ${this.selectedVehicle.vehicle.make} ${this.selectedVehicle.vehicle.model}`);
|
||||
} else {
|
||||
this.$refs.funnelFooter.updateButtonText(this.getCmsContent("FunnelFooterWidget", "ForwardButtonText"));
|
||||
}
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue