mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 19:16:37 +00:00
Don't hide the product row on the stock overview page if there are still child products in stock
This commit is contained in:
@@ -239,7 +239,7 @@ function RefreshProductRow(productId)
|
|||||||
productRow.addClass("table-warning");
|
productRow.addClass("table-warning");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.stock_amount == 0 && result.product.min_stock_amount == 0)
|
if (result.stock_amount == 0 && result.stock_amount_aggregated == 0 && result.product.min_stock_amount == 0)
|
||||||
{
|
{
|
||||||
animateCSS("#product-" + productId + "-row", "fadeOut", function()
|
animateCSS("#product-" + productId + "-row", "fadeOut", function()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user