diff --git a/src/components/PriceCard.vue b/src/components/PriceCard.vue index c95de38464..ed74acdf24 100644 --- a/src/components/PriceCard.vue +++ b/src/components/PriceCard.vue @@ -132,6 +132,12 @@ export default { }, mounted() { this.getPriceProductTitle() + // hack: add price.location object to price.proof if missing + if (this.price && this.price.location && this.price.proof && !this.price.proof.location) { + if (this.price.location_id === this.price.proof.location_id) { + this.price.proof.location = this.price.location + } + } }, methods: { getPriceProductTitle() {