We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daa5eae commit 90dc639Copy full SHA for 90dc639
front/src/modules/pathfinding/components/Itinerary/DisplayItinerary/Destination.tsx
@@ -20,7 +20,7 @@ const Destination = ({ zoomToFeaturePoint }: DestinationProps) => {
20
const pathSteps = useSelector(getPathSteps);
21
22
const { t } = useTranslation(['operationalStudies/manageTrainSchedule']);
23
- if (!destination)
+ if (!destination || pathSteps.length === 1)
24
return (
25
<>
26
<span className="text-warning mr-2">
0 commit comments