mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00: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…
x
Reference in New Issue
Block a user