Remove the status explanation line under the OCA module table
This commit is contained in:
1 parent
43d0fc4658
commit
a46e513f50
3 files changed
+1
-18
No files matched your search
+1
-9
@@ -54,7 +54,6 @@
|
||||
|
||||
/* ---------- OCA module status, live from the n8n feed ---------- */
|
||||
var ocaBody = document.getElementById('oca-rows');
|
||||
var ocaNote = document.getElementById('oca-note');
|
||||
|
||||
function statusCell(ok, version) {
|
||||
var td = document.createElement('td');
|
||||
@@ -105,16 +104,9 @@
|
||||
: (Array.isArray(payload) ? payload : null);
|
||||
if (!rows || !rows.length) throw new Error('empty');
|
||||
renderOca(rows);
|
||||
if (ocaNote) {
|
||||
ocaNote.textContent = 'Status read from the OCA module feed at '
|
||||
+ new Date().toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })
|
||||
+ '. A tick means the module carries a branch for that series; a dash means it does not yet.';
|
||||
}
|
||||
})
|
||||
.catch(function () {
|
||||
if (ocaNote) {
|
||||
ocaNote.textContent = 'The live feed could not be reached just now; the rows above are the last snapshot.';
|
||||
}
|
||||
/* keep the snapshot already in the markup */
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user