From 3685478089a118eb01ead1b69eeaf7ff28e7e315 Mon Sep 17 00:00:00 2001 From: Carter Date: Wed, 9 Apr 2025 14:28:26 -0600 Subject: [PATCH] V2 should be able to see connection action now --- src/common/ResponsiveTable.tsx | 2 -- src/device/DeviceActions.tsx | 3 ++- src/navigation/SideNavigator.tsx | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) 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 && ( openDialog("isConnectionDialogOpen")} dense> diff --git a/src/navigation/SideNavigator.tsx b/src/navigation/SideNavigator.tsx index d1868d2..a48de00 100644 --- a/src/navigation/SideNavigator.tsx +++ b/src/navigation/SideNavigator.tsx @@ -61,6 +61,7 @@ const useStyles = makeStyles((theme: Theme) => ({ }) }, sideMenuOnClosed: { + pointerEvents: "none", transition: theme.transitions.create(["width", "z-index", "opacity"], { easing: theme.transitions.easing.sharp, duration: theme.transitions.duration.leavingScreen