Skip to content

Commit 08181c6

Browse files
cursoragentjssturm
andcommitted
fix(reminders): open map_destination when walking_map_url is missing
Co-authored-by: jssturm <jssturm@users.noreply.github.com>
1 parent d157c86 commit 08181c6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

static/js/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@
161161
saveFiredReminders();
162162

163163
var mapUrl = item.walking_map_url;
164+
if (!mapUrl && item.map_destination) {
165+
mapUrl = buildWalkingMapsUrl(null, item.map_destination);
166+
}
164167
if (!mapUrl) {
165168
// Fall back to the route maps_url if available
166169
var routeIdx = findRouteIndexForSchedule(plan, idx);

0 commit comments

Comments
 (0)