From 2a1ce070a2864c6f8c31a30fbc7c8dc6ad0641ec Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Thu, 1 Feb 2024 13:12:19 +0100 Subject: [PATCH] refactor javascript --- public/js/tableActions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/tableActions.js b/public/js/tableActions.js index 9d1ef96..0bbf151 100644 --- a/public/js/tableActions.js +++ b/public/js/tableActions.js @@ -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);