Update vehicle-banner.vue
This commit is contained in:
parent
1f2560f0a9
commit
e8a2d06692
1 changed files with 3 additions and 3 deletions
|
|
@ -21,12 +21,12 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
vehicleImageToDisplay() {
|
vehicleImageToDisplay() {
|
||||||
if (this.displayGenericVehicleImage) {
|
|
||||||
return this.genericVehicleImage;
|
|
||||||
}
|
|
||||||
if (this.displayVehicleImage !== null) {
|
if (this.displayVehicleImage !== null) {
|
||||||
return this.displayVehicleImage;
|
return this.displayVehicleImage;
|
||||||
}
|
}
|
||||||
|
if (this.displayGenericVehicleImage) {
|
||||||
|
return this.genericVehicleImage;
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
this.$store.getters.vehicle.imageUrl === null ||
|
this.$store.getters.vehicle.imageUrl === null ||
|
||||||
this.$store.getters.vehicle.imageUrl === "NULL"
|
this.$store.getters.vehicle.imageUrl === "NULL"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue