Update vehicle-banner.vue

This commit is contained in:
Sneha 2023-08-09 18:12:57 +05:30
parent 1f2560f0a9
commit e8a2d06692

View file

@ -21,12 +21,12 @@ export default {
},
computed: {
vehicleImageToDisplay() {
if (this.displayGenericVehicleImage) {
return this.genericVehicleImage;
}
if (this.displayVehicleImage !== null) {
return this.displayVehicleImage;
}
if (this.displayGenericVehicleImage) {
return this.genericVehicleImage;
}
if (
this.$store.getters.vehicle.imageUrl === null ||
this.$store.getters.vehicle.imageUrl === "NULL"