diff --git a/src/PowderCoating.Web/wwwroot/js/log-material.js b/src/PowderCoating.Web/wwwroot/js/log-material.js index 286f551..b54b86b 100644 --- a/src/PowderCoating.Web/wwwroot/js/log-material.js +++ b/src/PowderCoating.Web/wwwroot/js/log-material.js @@ -37,10 +37,12 @@ } function lmMakeRow(it) { - const label = it.name + (it.unitOfMeasure ? ' (' + it.unitOfMeasure + ')' : ''); - const mfr = it.manufacturer - ? `${escLm(it.manufacturer)}` - : ''; + const display = (it.manufacturer ? escLm(it.manufacturer) + ' – ' : '') + + escLm(it.name) + + (it.unitOfMeasure ? ' (' + escLm(it.unitOfMeasure) + ')' : ''); + const label = (it.manufacturer ? it.manufacturer + ' - ' : '') + + it.name + + (it.unitOfMeasure ? ' (' + it.unitOfMeasure + ')' : ''); return `