feat: show transport type on routes + unify map height
All checks were successful
Build Docker Image / build (push) Successful in 4m33s
All checks were successful
Build Docker Image / build (push) Successful in 4m33s
- Add transportType display (🚂 ЖД / 🚛 Авто) in RouteStagesList - Pass transportType from CalcResultContent to RouteStagesList - Unify map height in CatalogPage for orders/addresses pages
This commit is contained in:
@@ -221,7 +221,8 @@ const mapRouteStages = (route: RoutePathType): RouteStageItem[] => {
|
||||
from: stage?.fromName || 'Начало',
|
||||
to: stage?.toName || 'Конец',
|
||||
distanceKm: stage?.distanceKm,
|
||||
durationSeconds: stage?.travelTimeSeconds
|
||||
durationSeconds: stage?.travelTimeSeconds,
|
||||
transportType: stage?.transportType
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user