Simple formatting fix for BOM table (#3984)

This commit is contained in:
Oliver 2022-11-22 10:00:51 +11:00 committed by GitHub
parent f4644c089f
commit 1058a7c490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -957,10 +957,10 @@ function loadBomTable(table, options={}) {
}
});
var total = `${top_total}`;
var total = `${formatDecimal(top_total)}`;
if (top_total != all_total) {
total += ` / ${all_total}`;
total += ` / ${formatDecimal(all_total)}`;
}
return total;