Skip to content

Commit

Permalink
fix(product list): fix broken link to product detail. ref #113
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Jan 12, 2024
1 parent a7d95c0 commit 096097b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PriceCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 096097b

Please sign in to comment.