diff --git a/public/viewjs/inventory.js b/public/viewjs/inventory.js index a0b5f85a..59cd1cbf 100644 --- a/public/viewjs/inventory.js +++ b/public/viewjs/inventory.js @@ -343,6 +343,10 @@ $('#display_amount').on('keyup', function(e) Grocy.Components.LocationPicker.GetInputElement().removeAttr('required'); } } + else if (newAmount == productStockAmount) + { + $('#inventory-change-info').addClass('d-none'); + } if (!Grocy.FeatureFlags.GROCY_FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING) {