refactor javascript
This commit is contained in:
parent
83cc9ab082
commit
2a1ce070a2
@ -15,7 +15,7 @@ function addPrinterToTable(tableBody, printer) {
|
|||||||
addTableData(tableRow, printer.name, 'name', printer);
|
addTableData(tableRow, printer.name, 'name', printer);
|
||||||
addTableData(tableRow, `${printer.price.toFixed(2)}$`, 'price', printer);
|
addTableData(tableRow, `${printer.price.toFixed(2)}$`, 'price', printer);
|
||||||
addTableData(tableRow, printer.build_volume, 'build_volume', 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);
|
addTableActions(tableRow, printer);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user