mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Only show the shopping list button on the product card if the feature is enabled
This commit is contained in:
parent
f8e2e4ced7
commit
262f3df3ab
@ -27,6 +27,7 @@
|
||||
title="{{ $__t('Edit product') }}">
|
||||
<i class="fa-solid fa-edit"></i>
|
||||
</a>
|
||||
@if(GROCY_FEATURE_FLAG_SHOPPINGLIST)
|
||||
<a id="productcard-product-shoppinglist-button"
|
||||
class="btn btn-sm btn-outline-secondary py-0 mr-1 float-right disabled show-as-dialog-link"
|
||||
href="#"
|
||||
@ -34,6 +35,7 @@
|
||||
title="{{ $__t('Add to shopping list') }}">
|
||||
<i class="fa-solid fa-shopping-cart"></i>
|
||||
</a>
|
||||
@endif
|
||||
<a id="productcard-product-journal-button"
|
||||
class="btn btn-sm btn-outline-secondary py-0 mr-1 float-right disabled show-as-dialog-link"
|
||||
href="#"
|
||||
|
Loading…
x
Reference in New Issue
Block a user