From 262f3df3ab79dd06765790c6d27e7d1db6046532 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Thu, 23 Jan 2025 17:56:01 +0100 Subject: [PATCH] Only show the shopping list button on the product card if the feature is enabled --- views/components/productcard.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/views/components/productcard.blade.php b/views/components/productcard.blade.php index 4e0fe6f3..5ad4e66d 100644 --- a/views/components/productcard.blade.php +++ b/views/components/productcard.blade.php @@ -27,6 +27,7 @@ title="{{ $__t('Edit product') }}"> + @if(GROCY_FEATURE_FLAG_SHOPPINGLIST) + @endif