mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 19:08:20 +00:00
Remove Interfaces Apply
This commit is contained in:
parent
e02f5a79f0
commit
5a15479c92
1 changed files with 0 additions and 9 deletions
|
@ -40,15 +40,6 @@ async function load(){
|
||||||
loading = false
|
loading = false
|
||||||
}
|
}
|
||||||
|
|
||||||
async function apply(){
|
|
||||||
let res = await apiCall("Network.ApplyInterfaces", {});
|
|
||||||
if (res.Error === null) {
|
|
||||||
console.debug("apply log", res.Data.Log);
|
|
||||||
} else {
|
|
||||||
console.debug("error", res);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
async function deleteInterface(){
|
async function deleteInterface(){
|
||||||
let res = await apiCall("Network.DeleteInterface", {name: displayData[selection[0]].name});
|
let res = await apiCall("Network.DeleteInterface", {name: displayData[selection[0]].name});
|
||||||
if (res.Error === null) {
|
if (res.Error === null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue