up
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user