mirror of
https://github.com/grocy/grocy.git
synced 2025-08-22 21:10:47 +00:00
Revert "Refresh product/chore/battery card only when actually visible"
This reverts commit c934bfb7b3
.
This commit is contained in:
@@ -2,11 +2,6 @@ Grocy.Components.ProductCard = {};
|
||||
|
||||
Grocy.Components.ProductCard.Refresh = function(productId)
|
||||
{
|
||||
if (!$(".productcard").is(":visible"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Grocy.Api.Get('stock/products/' + productId,
|
||||
function(productDetails)
|
||||
{
|
||||
|
Reference in New Issue
Block a user