File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
ui/src/components/map/stops Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -209,8 +209,6 @@ export const StopsImpl: ForwardRefRenderFunction<StopsRef, StopsProps> = (
209209 const selectedStops = mapStopSelection . byResultSelection
210210 ? [ ]
211211 : mapStopSelection . selected ;
212- const isInSelection = ( stop : MapStop ) =>
213- isInSearchResultMode || selectedStops . includes ( stop . netex_id ) ;
214212
215213 return (
216214 < >
@@ -221,7 +219,7 @@ export const StopsImpl: ForwardRefRenderFunction<StopsRef, StopsProps> = (
221219 return (
222220 < Stop
223221 isHighlighted = { getStopHighlighted ( item ) }
224- inSelection = { isInSelection ( item ) }
222+ inSelection = { selectedStops . includes ( item . netex_id ) }
225223 asMemberStop = { asMemberStop }
226224 key = { item . netex_id }
227225 latitude = { point . latitude }
You can’t perform that action at this time.
0 commit comments