From 8516c87eb6e4b1fe8f57350c923815de6013230c Mon Sep 17 00:00:00 2001 From: Amandus Butzer Date: Tue, 17 Oct 2023 15:54:30 +0200 Subject: [PATCH] fix: route details expanding this was only working for a single route returned and not for alternative routes. --- .../components/route-details/route-details.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fragments/forms/map-form/components/place-and-directions/components/route-details/route-details.js b/src/fragments/forms/map-form/components/place-and-directions/components/route-details/route-details.js index 52c7b4e86..b8543fa5d 100644 --- a/src/fragments/forms/map-form/components/place-and-directions/components/route-details/route-details.js +++ b/src/fragments/forms/map-form/components/place-and-directions/components/route-details/route-details.js @@ -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