CSR-1418
This commit is contained in:
parent
36b0dceb15
commit
c214b73378
1 changed files with 5 additions and 6 deletions
|
|
@ -59,8 +59,8 @@
|
|||
cmsWidgetName="VehicleBannerWidget"
|
||||
:displayGenericVehicleImage="displayGeneric"
|
||||
:displayVehicleImage="imageUrl"
|
||||
:vehicleCategory="category"
|
||||
:displayUnmatchedVehicleIcon="unmatchedVehicleIcon"
|
||||
:vehicleCategory="category"
|
||||
:displayUnmatchedVehicleIcon="unmatchedVehicleIcon"
|
||||
class="mt-5 mb-3"
|
||||
ref="banner" />
|
||||
|
||||
|
|
@ -122,7 +122,7 @@ export default {
|
|||
modelOptions: [],
|
||||
styleOptions: [],
|
||||
//flag to check getVehicle action in progress
|
||||
vehicleInProgress:false,
|
||||
vehicleInProgress: false,
|
||||
};
|
||||
},
|
||||
|
||||
|
|
@ -294,7 +294,6 @@ export default {
|
|||
this.imageUrl = result?.data.imageUrl;
|
||||
this.imageVifNumber = result?.data.imageVifNumber;
|
||||
this.imageVifColor = result?.data.imageVifColor;
|
||||
|
||||
} else {
|
||||
this.imageUrl = null;
|
||||
}
|
||||
|
|
@ -307,7 +306,7 @@ export default {
|
|||
},
|
||||
displayGeneric() {
|
||||
if (!this.selectedStyle) return true;
|
||||
else if(this.getVehicleInProgress) return true;
|
||||
else if (this.vehicleInProgress) return true;
|
||||
else if (this.imageUrl == null && this.carId !== null) return false;
|
||||
else return true;
|
||||
},
|
||||
|
|
@ -320,7 +319,7 @@ export default {
|
|||
model: model,
|
||||
style: style,
|
||||
});
|
||||
},
|
||||
},
|
||||
arePagePrerequisitesValid() {
|
||||
return true;
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue