fix: redirect user on machine unpair
This commit is contained in:
parent
e70cb6ac95
commit
15fa09615f
1 changed files with 9 additions and 0 deletions
|
|
@ -56,6 +56,15 @@ const GET_INFO = gql`
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
const GET_MACHINES = gql`
|
||||||
|
{
|
||||||
|
machines {
|
||||||
|
name
|
||||||
|
deviceId
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`
|
||||||
|
|
||||||
const getMachineID = path => path.slice(path.lastIndexOf('/') + 1)
|
const getMachineID = path => path.slice(path.lastIndexOf('/') + 1)
|
||||||
|
|
||||||
const MachineRoute = () => {
|
const MachineRoute = () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue