From e8dad4f95416cc87e59f67208e90e6da0fa779bd Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Thu, 30 Jun 2022 08:39:11 -0400 Subject: [PATCH] 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 --- src/layouts/address-vehicles/address-vehicles.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/layouts/address-vehicles/address-vehicles.vue b/src/layouts/address-vehicles/address-vehicles.vue index 8a36bb51f..988e12e38 100644 --- a/src/layouts/address-vehicles/address-vehicles.vue +++ b/src/layouts/address-vehicles/address-vehicles.vue @@ -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 },