mirror of
https://github.com/grocy/grocy.git
synced 2026-04-04 03:46:16 +02:00
Fix the default location not appending properly
This commit is contained in:
parent
99473e34a6
commit
cb8898e046
|
|
@ -390,7 +390,7 @@ Grocy.Components.ProductPicker.GetPicker().on('change', function(e)
|
|||
{
|
||||
var stockLocationName = stockLocation.location_name;
|
||||
if (stockLocation.location_id == defaultLocationId) {
|
||||
stockLocationName += +" (" + __t("Default location") + ")";
|
||||
stockLocationName += " (" + __t("Default location") + ")";
|
||||
setDefault = 1;
|
||||
stockAmountAtDefaultLocation += Number.parseFloat(stockLocation.amount);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user