Add TODO note
This commit is contained in:
parent
00192d0320
commit
037190bb9d
@ -65,6 +65,7 @@ function redrawTable() {
|
|||||||
let nowDelta = new Date(new Date() - station.lastHeard);
|
let nowDelta = new Date(new Date() - station.lastHeard);
|
||||||
|
|
||||||
let tr = table.appendChild(document.createElement('tr'));
|
let tr = table.appendChild(document.createElement('tr'));
|
||||||
|
// TODO: should be set by same thing that sends alert
|
||||||
if (nowDelta.getTime() > timeoutLength) {
|
if (nowDelta.getTime() > timeoutLength) {
|
||||||
tr.classList.add('timedOut');
|
tr.classList.add('timedOut');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user