fix: correct typo in console log for total length

This commit is contained in:
Manuel Weiser 2025-03-02 20:21:27 +01:00
parent 3394e6eb01
commit 5afb60df32

View File

@ -86,7 +86,7 @@ function populateVendorDropdown(data, selectedSmId = null) {
});
// Nach der Schleife: Formatierung der Gesamtlänge
console.log("Total Lenght: ", totalLength);
console.log("Total Length: ", totalLength);
const formattedLength = totalLength > 1000
? (totalLength / 1000).toFixed(2) + " km"
: totalLength.toFixed(2) + " m";