diff options
author | Anton Tananaev <anton@traccar.org> | 2022-10-16 17:39:21 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-10-16 17:39:21 -0700 |
commit | c85fcb9661cfa0e417fa24e1497fca3152f48f2f (patch) | |
tree | a14c0e39a52ae985e9b9911ca95b585ca27fff8b /modern/src | |
parent | d212a2897ec3c7f0cb7b4a4556e9147bb29a8aae (diff) | |
download | trackermap-web-c85fcb9661cfa0e417fa24e1497fca3152f48f2f.tar.gz trackermap-web-c85fcb9661cfa0e417fa24e1497fca3152f48f2f.tar.bz2 trackermap-web-c85fcb9661cfa0e417fa24e1497fca3152f48f2f.zip |
Fix map click
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/other/ReplayPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/other/ReplayPage.js b/modern/src/other/ReplayPage.js index fb83d5a9..67e44105 100644 --- a/modern/src/other/ReplayPage.js +++ b/modern/src/other/ReplayPage.js @@ -165,7 +165,7 @@ const ReplayPage = () => { {index < positions.length && ( <MapPositions positions={[positions[index]]} - onClick={() => setShowCard(true)} + onClick={(positionId) => setShowCard(!!positionId)} /> )} </MapView> |