mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-26 22:57:32 +00:00
fix(mobile): the driving form's vehicle card says what you drive, not a second "Vehicle" under the range card
This commit is contained in:
@@ -258,7 +258,7 @@ function VehicleCard({ tripId, readOnly, onSave }: CardProps) {
|
||||
const rangeShown = rangeKm ? Math.round(convertDistance(rangeKm, imperial ? 'imperial' : 'metric')) : undefined;
|
||||
const rangeLabel = t(vehicleKind === 'electric' ? 'roadtrip.limit.rangeLabelCharge' : 'roadtrip.limit.rangeLabel');
|
||||
return (
|
||||
<EditCard label={t('roadtrip.limit.sectionVehicle')}>
|
||||
<EditCard label={t('roadtrip.limit.vehicleLabel')}>
|
||||
<div className="pb-1.5 pt-1">
|
||||
<Choice
|
||||
readOnly={readOnly}
|
||||
|
||||
Reference in New Issue
Block a user