Create frames for network filters management
This commit is contained in:
virtweb_frontend/src
@ -160,12 +160,10 @@ export class NetworkApi {
|
||||
/**
|
||||
* Delete a network
|
||||
*/
|
||||
static async Delete(n: NetworkInfo): Promise<NetworkInfo[]> {
|
||||
return (
|
||||
await APIClient.exec({
|
||||
method: "DELETE",
|
||||
uri: `/network/${n.uuid}`,
|
||||
})
|
||||
).data;
|
||||
static async Delete(n: NetworkInfo): Promise<void> {
|
||||
await APIClient.exec({
|
||||
method: "DELETE",
|
||||
uri: `/network/${n.uuid}`,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user