V2 should be able to see connection action now

This commit is contained in:
Carter 2025-04-09 14:28:26 -06:00
parent 318975b649
commit 3685478089
3 changed files with 3 additions and 3 deletions

View file

@ -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 (
<Menu
@ -274,7 +275,7 @@ export default function DeviceActions(props: Props) {
<ListItemText secondary="Resume Data" />
</MenuItem>
)}
{isWifi && canWrite && (
{(isWifi || isV2) && canWrite && (
<MenuItem onClick={() => openDialog("isConnectionDialogOpen")} dense>
<ListItemIcon>
<WifiIcon />