mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
Fixed inventory action hint when entered amount equals current stock amount (fixes #1522)
This commit is contained in:
parent
44d6173569
commit
3acad5056a
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user