Create frames for network filters management

This commit is contained in:
2024-01-03 19:20:37 +01:00
parent 22f5acd0ff
commit c880c5e6bb
7 changed files with 397 additions and 14 deletions

@ -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}`,
});
}
}