This commit is contained in:
2024-06-28 11:58:02 +03:00
parent da56ec65d3
commit 5c7e78d39f
4 changed files with 19 additions and 2 deletions

View File

@@ -57,7 +57,7 @@
<div class="content" async:data="d?.get('sys/service')">
<i-repeat :data="d?.Agents">
<i-repeat :data="d?.Agents" id="list">
<table class="table-list">
<thead>
<tr>

View File

@@ -29,6 +29,8 @@ async function addJob() {
alert(ex);
}
}
document.getElementById("list").update();
}
async function addAgent() {
@@ -41,6 +43,9 @@ async function addAgent() {
alert(ex);
}
}
document.getElementById("list").update();
}
const FORMAT_CONNECTION_STATUS = (x) => ["Offline", "Connecting...", "Online"][x];