diff --git a/src/common/ResponsiveTable.tsx b/src/common/ResponsiveTable.tsx index 0e2d7fa..3916dd8 100644 --- a/src/common/ResponsiveTable.tsx +++ b/src/common/ResponsiveTable.tsx @@ -48,9 +48,7 @@ const useStyles = makeStyles((theme: Theme) => { marginBottom: theme.spacing(1.5), }, card: { - // padding: theme.spacing(1), margin: theme.spacing(1), - }, rowHover: { cursor: "pointer", diff --git a/src/device/DeviceActions.tsx b/src/device/DeviceActions.tsx index 1ae2344..787581c 100644 --- a/src/device/DeviceActions.tsx +++ b/src/device/DeviceActions.tsx @@ -195,6 +195,7 @@ export default function DeviceActions(props: Props) { const isWifi = device.settings.platform === pond.DevicePlatform.DEVICE_PLATFORM_PHOTON; // const isShareLink = isShareableLink(match.params.deviceID); const isShareLink = false + const isV2 = device.settings.platform >= pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR return (
)} - {isWifi && canWrite && ( + {(isWifi || isV2) && canWrite && (