aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-04 17:12:00 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-04 17:12:00 -0700
commitf559ae8d2f9c4a9bc5f450faa749a8ce13645fdd (patch)
tree91511c6800e6fba8ba837a43190d89b46ea6edd2 /modern/src/map
parentebbf533b5f8bae16a946852fccef397e4bbe8f7d (diff)
downloadtrackermap-web-f559ae8d2f9c4a9bc5f450faa749a8ce13645fdd.tar.gz
trackermap-web-f559ae8d2f9c4a9bc5f450faa749a8ce13645fdd.tar.bz2
trackermap-web-f559ae8d2f9c4a9bc5f450faa749a8ce13645fdd.zip
Implement send commands
Diffstat (limited to 'modern/src/map')
-rw-r--r--modern/src/map/StatusCard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/StatusCard.js b/modern/src/map/StatusCard.js
index 962023c8..73cd3b0f 100644
--- a/modern/src/map/StatusCard.js
+++ b/modern/src/map/StatusCard.js
@@ -105,7 +105,7 @@ const StatusCard = ({ deviceId, onClose }) => {
<IconButton onClick={() => history.push('/replay')} disabled={!position}>
<ReplayIcon />
</IconButton>
- <IconButton>
+ <IconButton onClick={() => history.push(`/command/${deviceId}`)}>
<PublishIcon />
</IconButton>
<IconButton onClick={() => history.push(`/device/${deviceId}`)}>