diff --git a/src/app/features/product/components/product-card/product-card.html b/src/app/features/product/components/product-card/product-card.html index 82ef41a..c209551 100644 --- a/src/app/features/product/components/product-card/product-card.html +++ b/src/app/features/product/components/product-card/product-card.html @@ -5,11 +5,11 @@ -

{{ product.title }}

+

{{product.title}}

⭐4.5

Price: - {{ product.actualPrice }} - {{ product.listPrice }}/- + {{product.actualPrice}} + {{product.listPrice}}/-

diff --git a/src/app/features/product/components/product-card/product-card.ts b/src/app/features/product/components/product-card/product-card.ts index cca01d7..a7b28b6 100644 --- a/src/app/features/product/components/product-card/product-card.ts +++ b/src/app/features/product/components/product-card/product-card.ts @@ -15,6 +15,6 @@ export class ProductCard { @Input() product!: ProductModel; goToProductDetails() { - this.router.navigate(['/products', this.product.slug]); + this.router.navigate(["/products", this.product.slug]); } }