mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 10:38:20 +00:00
fix interface deleting
This commit is contained in:
parent
8e31d7ee99
commit
eb5ea39d26
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ async function load(){
|
||||||
}
|
}
|
||||||
|
|
||||||
async function deleteInterface(){
|
async function deleteInterface(){
|
||||||
let res = await apiCall('network.interfaces.delete', {id: displayData[selection[0]].name});
|
let res = await apiCall('network.interfaces.delete', {name: displayData[selection[0]].name});
|
||||||
if (res.Error === null) {
|
if (res.Error === null) {
|
||||||
console.debug('deleted interface');
|
console.debug('deleted interface');
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue