From 948473edcf7fe058ee32f21061fc589ab45530b8 Mon Sep 17 00:00:00 2001 From: Sneha Date: Tue, 26 Sep 2023 19:14:24 +0530 Subject: [PATCH] Update vehicle.vue --- src/layouts/vehicle/vehicle.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/layouts/vehicle/vehicle.vue b/src/layouts/vehicle/vehicle.vue index fc2dfec25..494027bb9 100644 --- a/src/layouts/vehicle/vehicle.vue +++ b/src/layouts/vehicle/vehicle.vue @@ -268,7 +268,7 @@ export default { const sameStyle = this.selectedStyle === this.styleOptions[0]; this.selectedStyle = this.styleOptions[0]; if (sameStyle) { - this.getCarID(); + this.getVehicleDetails(); } } else this.selectedStyle = null; } else { @@ -278,7 +278,7 @@ export default { }, async selectedStyle(style) { if (style) { - this.getCarID(); + this.getVehicleDetails(); } else { this.imageUrl = null; } @@ -312,7 +312,7 @@ export default { arePagePrerequisitesValid() { return true; }, - async getCarID() { + async getVehicleDetails() { this.carId = null; const result = await this.getVehicle( this.selectedYear,