diff --git a/public/viewjs/components/productcard.js b/public/viewjs/components/productcard.js
index 1c40ce35..98ac2a74 100644
--- a/public/viewjs/components/productcard.js
+++ b/public/viewjs/components/productcard.js
@@ -80,13 +80,11 @@ Grocy.Components.ProductCard.Refresh = function(productId)
if (productDetails.product.picture_file_name !== null && !productDetails.product.picture_file_name.isEmpty())
{
- $("#productcard-no-product-picture").addClass("d-none");
$("#productcard-product-picture").removeClass("d-none");
$("#productcard-product-picture").attr("src", U('/api/files/productpictures/' + btoa(productDetails.product.picture_file_name) + '?force_serve_as=picture&best_fit_width=400'));
}
else
{
- $("#productcard-no-product-picture").removeClass("d-none");
$("#productcard-product-picture").addClass("d-none");
}
diff --git a/views/components/productcard.blade.php b/views/components/productcard.blade.php
index 496108da..0a5474cf 100644
--- a/views/components/productcard.blade.php
+++ b/views/components/productcard.blade.php
@@ -27,9 +27,7 @@
@if (GROCY_FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING){{ $__t('Average shelf life') }}:
@endif
{{ $__t('Spoil rate') }}:
-