mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01: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…
Reference in New Issue
Block a user