Display the list of devices
This commit is contained in:
central_frontend/src
@ -49,6 +49,19 @@ export class DeviceApi {
|
||||
})
|
||||
).data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the list of validated devices
|
||||
*/
|
||||
static async ValidatedList(): Promise<Device[]> {
|
||||
return (
|
||||
await APIClient.exec({
|
||||
uri: "/devices/list_validated",
|
||||
method: "GET",
|
||||
})
|
||||
).data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate a device
|
||||
*/
|
||||
|
Reference in New Issue
Block a user