Skip to content

Commit

Permalink
fixup! front: select op with map when add train
Browse files Browse the repository at this point in the history
  • Loading branch information
theocrsb committed Dec 24, 2024
1 parent f2135de commit 48a5197
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ const Map = ({
result &&
result.feature.properties &&
result.feature.properties.id &&
(result.feature.geometry.type === 'LineString' || result.feature.geometry.type === 'Point')
(result.feature.geometry.type === 'LineString' || result.feature.geometry.type === 'Point') &&
(result.feature.sourceLayer === 'operational_points' ||
result.feature.sourceLayer === 'track_sections')
) {
setFeatureInfoClick({
feature: result.feature,
Expand Down

0 comments on commit 48a5197

Please sign in to comment.