Merge branch 'groups' into dev_environment
This commit is contained in:
commit
b5fe74664c
7 changed files with 90 additions and 15 deletions
|
|
@ -20,6 +20,7 @@ export default function DevicePage() {
|
|||
const snackbar = useSnackbar()
|
||||
const isMobile = useMobile()
|
||||
const deviceID = useParams<{ deviceID: string }>()?.deviceID ?? "";
|
||||
const groupID = useParams<{ groupID: string }>()?.groupID ?? "";
|
||||
const { state } = useLocation();
|
||||
const [{ as, team, user }] = useGlobalState()
|
||||
const [device, setDevice] = useState<Device>(state?.device ? Device.create(state.device) : Device.create())
|
||||
|
|
@ -170,6 +171,7 @@ export default function DevicePage() {
|
|||
usage={getUsage()}
|
||||
loading={loading}
|
||||
tags={tags}
|
||||
groupID={parseInt(groupID)}
|
||||
/>
|
||||
</PageContainer>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue