mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Fixed productamountpicker initial converted amount was undefined
This commit is contained in:
@@ -178,6 +178,7 @@ if (GetUriParam("list") !== undefined)
|
||||
if (GetUriParam("amount") !== undefined)
|
||||
{
|
||||
$("#display_amount").val(parseFloat(GetUriParam("amount")).toLocaleString({ minimumFractionDigits: 0, maximumFractionDigits: Grocy.UserSettings.stock_decimal_places_amounts }));
|
||||
$(".input-group-productamountpicker").trigger("change");
|
||||
Grocy.FrontendHelpers.ValidateForm('shoppinglist-form');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user