diff options
author | Anton Tananaev <anton@traccar.org> | 2023-02-02 11:41:55 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-02-02 11:41:55 -0800 |
commit | cdfa3e5a8fca1b3b8ed59881adcaa8c3d686de50 (patch) | |
tree | bffb269cfcbd2b6ebc75bddf700bcd92648bf912 /modern/src/main/MainMap.js | |
parent | ac45c888702bb5ca2d12d974875d101d3e60dd49 (diff) | |
download | trackermap-web-cdfa3e5a8fca1b3b8ed59881adcaa8c3d686de50.tar.gz trackermap-web-cdfa3e5a8fca1b3b8ed59881adcaa8c3d686de50.tar.bz2 trackermap-web-cdfa3e5a8fca1b3b8ed59881adcaa8c3d686de50.zip |
Unified device selection
Diffstat (limited to 'modern/src/main/MainMap.js')
-rw-r--r-- | modern/src/main/MainMap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/main/MainMap.js b/modern/src/main/MainMap.js index 273a7787..3b57c745 100644 --- a/modern/src/main/MainMap.js +++ b/modern/src/main/MainMap.js @@ -30,7 +30,7 @@ const MainMap = ({ filteredPositions, selectedPosition, onEventsClick }) => { const features = useFeatures(); const onMarkerClick = useCallback((_, deviceId) => { - dispatch(devicesActions.select(deviceId)); + dispatch(devicesActions.selectId(deviceId)); }, [dispatch]); return ( |