Fix cdn path

This commit is contained in:
Çetin
2025-01-06 17:21:09 +03:00
parent c485d75712
commit a3b6b0c1eb

View File

@@ -29,7 +29,7 @@ import { Product, ProductService } from '@/src/service/product.service';
<ng-template pTemplate="body" let-product>
<tr>
<td style="width: 15%; min-width: 5rem;">
<img src="assets/demo/images/product/{{product.image}}" class="shadow-lg" alt="{{product.name}}" width="50">
<img src="https://primefaces.org/cdn/primevue/images/product/{{product.image}}" class="shadow-lg" alt="{{product.name}}" width="50">
</td>
<td style="width: 35%; min-width: 7rem;">{{product.name}}</td>
<td style="width: 35%; min-width: 8rem;">{{product.price | currency:'USD'}}</td>