diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-08 14:52:01 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-08 14:52:01 -0700 |
commit | 176ef4d766fa4bbe230849190b8695380ad10822 (patch) | |
tree | bb083a7bd7c3cefb5c09f4ef60593756f1b34cdd /modern/src/main/StatusCard.js | |
parent | 4d17b6baf8f3745478eb105c6ee196ebf4ceb7c7 (diff) | |
download | trackermap-web-176ef4d766fa4bbe230849190b8695380ad10822.tar.gz trackermap-web-176ef4d766fa4bbe230849190b8695380ad10822.tar.bz2 trackermap-web-176ef4d766fa4bbe230849190b8695380ad10822.zip |
Organize router
Diffstat (limited to 'modern/src/main/StatusCard.js')
-rw-r--r-- | modern/src/main/StatusCard.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/main/StatusCard.js b/modern/src/main/StatusCard.js index 46d288c6..f49799b5 100644 --- a/modern/src/main/StatusCard.js +++ b/modern/src/main/StatusCard.js @@ -109,10 +109,10 @@ const StatusCard = ({ deviceId, onClose }) => { <IconButton onClick={() => history.push('/replay')} disabled={!position}> <ReplayIcon /> </IconButton> - <IconButton onClick={() => history.push(`/command/${deviceId}`)} disabled={readonly}> + <IconButton onClick={() => history.push(`/settings/command-send/${deviceId}`)} disabled={readonly}> <PublishIcon /> </IconButton> - <IconButton onClick={() => history.push(`/device/${deviceId}`)} disabled={deviceReadonly}> + <IconButton onClick={() => history.push(`/settings/device/${deviceId}`)} disabled={deviceReadonly}> <EditIcon /> </IconButton> <IconButton onClick={() => setRemoveDialogShown(true)} disabled={deviceReadonly} className={classes.negative}> |