show errored ports

This commit is contained in:
soruh 2023-06-11 06:59:55 +02:00
parent 93e2f1e0b2
commit 2adfee9825

View File

@ -84,6 +84,10 @@ window.onload = () => {
table.push({port, number, status, last_change, rejector, name}) table.push({port, number, status, last_change, rejector, name})
} }
for (let [timestamp, port] of data.errored_ports) {
table.push({port, number: '', status: "Fehler", last_change: new Date(timestamp * 1000), rejector: '', name: ''})
}
console.log(table); console.log(table);
print_table(); print_table();