From cb8898e04646c71018f3f60885e351262d2adbc8 Mon Sep 17 00:00:00 2001 From: Rosemary Orchard <16113535+RosemaryOrchard@users.noreply.github.com> Date: Mon, 18 Apr 2022 10:15:15 +0100 Subject: [PATCH] Fix the default location not appending properly --- public/viewjs/consume.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/viewjs/consume.js b/public/viewjs/consume.js index 82d96df7..61e0c520 100644 --- a/public/viewjs/consume.js +++ b/public/viewjs/consume.js @@ -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); }