Merge pull request #1836 from seltonmt012/fix/inventory-quantity-dialog

fix(esx_inventory): let the quantity dialog accept a corrected amount
This commit is contained in:
_Not_
2026-08-14 19:42:47 -05:00
committed by GitHub
-1
View File
@@ -146,7 +146,6 @@ local function openQuantityDialog(title, maxCount)
local qty = tonumber(data.value)
if not qty or qty <= 0 or qty > maxCount then
ESX.ShowNotification(TranslateCap("amount_invalid"))
p:resolve(nil)
else
menu.close()
p:resolve(qty)