diff --git a/components/MapComponent.js b/components/MapComponent.js index ff9cfe2b3..a502e71b3 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -699,9 +699,13 @@ const MapComponent = ({ locations, onLocationUpdate }) => { ); let additionalInfo = ""; - // Alle gefundenen Me-Werte zu einem String hinzufügen - matchingStatuses.forEach((status) => { - additionalInfo += `
${status.Me} ( ${status.Na}) `; + // Umdrehen der Reihenfolge der Statusmeldungen + matchingStatuses.reverse().forEach((status) => { + additionalInfo += ` +
+
+ ${status.Me} (${status.Na}) +
`; }); const marker = L.marker([station.X, station.Y], {