aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorLuiz Kill <luizkill@gmail.com>2022-08-01 14:01:29 -0300
committerLuiz Kill <luizkill@gmail.com>2022-08-02 07:54:57 -0300
commit2b25556ab78528cc77767f352aff5fc3f6f7e113 (patch)
tree9d069e28b65f1615bbf0c7f8e618678f808c6d09 /modern
parenta688682933b9c12b8c81d9b65946a23206be637f (diff)
downloadtrackermap-web-2b25556ab78528cc77767f352aff5fc3f6f7e113.tar.gz
trackermap-web-2b25556ab78528cc77767f352aff5fc3f6f7e113.tar.bz2
trackermap-web-2b25556ab78528cc77767f352aff5fc3f6f7e113.zip
Moves the drag handle to the card header
Diffstat (limited to 'modern')
-rw-r--r--modern/src/main/StatusCard.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/modern/src/main/StatusCard.js b/modern/src/main/StatusCard.js
index 52cf9d48..852b7cc6 100644
--- a/modern/src/main/StatusCard.js
+++ b/modern/src/main/StatusCard.js
@@ -212,35 +212,30 @@ const StatusCard = ({ deviceId, onClose }) => {
<IconButton
color="secondary"
onClick={(e) => setAnchorEl(e.currentTarget)}
- onTouchStart={(e) => setAnchorEl(e.currentTarget)}
disabled={!position}
>
<PendingIcon />
</IconButton>
<IconButton
onClick={() => navigate('/replay')}
- onTouchStart={() => navigate('/replay')}
disabled={!position}
>
<ReplayIcon />
</IconButton>
<IconButton
onClick={() => navigate(`/settings/command-send/${deviceId}`)}
- onTouchStart={() => navigate(`/settings/command-send/${deviceId}`)}
disabled={readonly}
>
<PublishIcon />
</IconButton>
<IconButton
onClick={() => navigate(`/settings/device/${deviceId}`)}
- onTouchStart={() => navigate(`/settings/device/${deviceId}`)}
disabled={deviceReadonly}
>
<EditIcon />
</IconButton>
<IconButton
onClick={() => setRemoving(true)}
- onTouchStart={() => setRemoving(true)}
disabled={deviceReadonly}
className={classes.negative}
>