refactor javascript

This commit is contained in:
Jan Klattenhoff 2024-02-01 13:12:19 +01:00
parent 83cc9ab082
commit 2a1ce070a2

@ -15,7 +15,7 @@ function addPrinterToTable(tableBody, printer) {
addTableData(tableRow, printer.name, 'name', printer);
addTableData(tableRow, `${printer.price.toFixed(2)}$`, 'price', printer);
addTableData(tableRow, printer.build_volume, 'build_volume', printer);
addTableData(tableRow, printer.max_speed + 'mm/s', 'max_speed', printer);
addTableData(tableRow, `${printer.max_speed}mm/s`, 'max_speed', printer);
addTableActions(tableRow, printer);