diff --git a/app/components/catalog/InfoPanel.vue b/app/components/catalog/InfoPanel.vue
index d067947..a090af9 100644
--- a/app/components/catalog/InfoPanel.vue
+++ b/app/components/catalog/InfoPanel.vue
@@ -139,12 +139,15 @@
{{ $t('catalog.empty.noOffers') }}
-
@@ -317,4 +320,14 @@ const onOfferSelect = (offer: any) => {
emit('open-info', 'offer', offer.uuid)
}
}
+
+// Extract route stages for OfferResultCard
+const getOfferStages = (offer: any) => {
+ const route = offer.routes?.[0]
+ if (!route?.stages) return []
+ return route.stages.filter(Boolean).map((stage: any) => ({
+ transportType: stage?.transportType,
+ distanceKm: stage?.distanceKm
+ }))
+}