added support page
This commit is contained in:
parent
f316ec1c01
commit
1ec3058d45
4 changed files with 333 additions and 2 deletions
|
|
@ -24,7 +24,8 @@ import {
|
|||
AccountCircle as ObjectUsersIcon,
|
||||
SupervisedUserCircle as ObjectTeamsIcon,
|
||||
Sync as SyncDeviceIcon,
|
||||
Wifi as WifiIcon
|
||||
Wifi as WifiIcon,
|
||||
Visibility
|
||||
} from "@mui/icons-material";
|
||||
import { Skeleton } from "@mui/material";
|
||||
// import Datadog from "assets/external/datadog.png";
|
||||
|
|
@ -498,6 +499,11 @@ export default function DeviceActions(props: Props) {
|
|||
const buttons = () => {
|
||||
return (
|
||||
<React.Fragment>
|
||||
{user.allowedTo("provision") && <Tooltip title="Support">
|
||||
<IconButton onClick={() => navigate("support", { state: {device: device} })}>
|
||||
<Visibility />
|
||||
</IconButton>
|
||||
</Tooltip>}
|
||||
{canWrite && user.allowedTo("provision") && <UpgradeDevice device={device} />}
|
||||
{/* {!isShareableLink(match.params.deviceID) && ( */}
|
||||
<NotificationButton
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue