diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/MapPositions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/MapPositions.js b/src/map/MapPositions.js index 83160a7a..08bc6b83 100644 --- a/src/map/MapPositions.js +++ b/src/map/MapPositions.js @@ -32,10 +32,10 @@ const MapPositions = ({ positions, onClick, showStatus, selectedPosition, titleF showDirection = false; break; case 'all': - showDirection = true; + showDirection = position.course > 0; break; default: - showDirection = selectedPositionId === position.id; + showDirection = selectedPositionId === position.id && position.course > 0; break; } return { |