We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e24353 + 875bbd9 commit db9dc53Copy full SHA for db9dc53
lib/components/user/monitored-trip/trip-basics-pane.js
@@ -103,7 +103,9 @@ class TripBasicsPane extends Component {
103
104
return (
105
<div>
106
- <TripStatus monitoredTrip={monitoredTrip} />
+ {/* Do not show trip status when saving trip for the first time
107
+ (it doesn't exist in backend yet). */}
108
+ {!isCreating && <TripStatus monitoredTrip={monitoredTrip} />}
109
<ControlLabel>Selected itinerary:</ControlLabel>
110
<TripSummary monitoredTrip={monitoredTrip} />
111
0 commit comments