Skip to content

Commit

Permalink
use confirmed trip for displayTimelineEntries
Browse files Browse the repository at this point in the history
  • Loading branch information
JGreenlee committed Mar 25, 2023
1 parent 1485b53 commit 72970ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/js/diary/infinite_scroll_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 72970ad

Please sign in to comment.