mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +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:
parent
4db373b272
commit
0b98504371
@ -239,7 +239,7 @@ function RefreshProductRow(productId)
|
||||
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()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user