From 096097b36487e26692e95c385971d022b59b92f6 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Fri, 12 Jan 2024 01:01:39 +0100 Subject: [PATCH] fix(product list): fix broken link to product detail. ref #113 --- src/components/PriceCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PriceCard.vue b/src/components/PriceCard.vue index 98612e70c5e..e903de91e59 100644 --- a/src/components/PriceCard.vue +++ b/src/components/PriceCard.vue @@ -207,7 +207,7 @@ export default { if (this.readonly) { return } - this.$router.push({ path: `/products/${this.price.product_code || this.price.category_tag}` }) + this.$router.push({ path: `/products/${this.product.code || this.price.product_code || this.price.category_tag}` }) }, goToBrand(brand) { if (this.readonly) {