From 72970addc939e7daf02df14ac7e29b54c2778f97 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Sat, 25 Mar 2023 13:58:36 -0400 Subject: [PATCH] use confirmed trip for displayTimelineEntries --- www/js/diary/infinite_scroll_list.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/js/diary/infinite_scroll_list.js b/www/js/diary/infinite_scroll_list.js index 8919899bf..9f7c9ac2c 100644 --- a/www/js/diary/infinite_scroll_list.js +++ b/www/js/diary/infinite_scroll_list.js @@ -313,9 +313,9 @@ angular.module('emission.main.diary.infscrolllist',['ui-leaflet', }; $scope.data.displayTimelineEntries = [] - $scope.data.displayTrips.forEach((t) => { - const place = t.confirmed_place; - $scope.data.displayTimelineEntries.push(trip); + $scope.data.displayTrips.forEach((cTrip) => { + const place = cTrip.confirmed_place; + $scope.data.displayTimelineEntries.push(cTrip); if ($scope.showPlaces && place) { $scope.data.displayTimelineEntries.push(place); }