Fix hidden node display (#1267)

This commit is contained in:
Tim Wilkinson 2024-08-16 11:57:31 -07:00 committed by GitHub
parent 0432bf3165
commit 3521053634
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -200,8 +200,8 @@
{%
sort(hlist, (a, b) => a.hostname == b.hostname ? 0 : a.hostname < b.hostname ? -1 : 1);
for (let i = 0; i < length(hlist); i++) {
const hostname = nlist[i].hostname;
print(`<div style='flex:0.75'><a onclick="event.stopPropagation()" title='Link status: hidden' href='http://${hostname}.local.mesh'>${hostname}</a></div>`);
const hostname = hlist[i].hostname;
print(`<div class="idle" style='flex:0.75'><a onclick="event.stopPropagation()" title='Link status: hidden' href='http://${hostname}.local.mesh'>${hostname}</a></div>`);
}
%}
</div>