V2 should be able to see connection action now
This commit is contained in:
parent
318975b649
commit
3685478089
3 changed files with 3 additions and 3 deletions
|
|
@ -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 />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue