Skip to content

Commit

Permalink
fix: route details expanding
Browse files Browse the repository at this point in the history
this was only working for a single route returned
and not for alternative routes.
  • Loading branch information
TheGreatRefrigerator committed Oct 17, 2023
1 parent 26271df commit 8516c87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default {
return location.href
},
startedPanelExtended () {
return this.localMapViewData.routes.length === 1 ? 0 : null
return this.localMapViewData.routes.length > 0 ? 0 : null
},
/**
* Builds and return route summary
Expand Down

0 comments on commit 8516c87

Please sign in to comment.