mirror of https://github.com/aredn/aredn.git
Fix hidden node display (#1267)
This commit is contained in:
parent
0432bf3165
commit
3521053634
|
@ -200,8 +200,8 @@
|
||||||
{%
|
{%
|
||||||
sort(hlist, (a, b) => a.hostname == b.hostname ? 0 : a.hostname < b.hostname ? -1 : 1);
|
sort(hlist, (a, b) => a.hostname == b.hostname ? 0 : a.hostname < b.hostname ? -1 : 1);
|
||||||
for (let i = 0; i < length(hlist); i++) {
|
for (let i = 0; i < length(hlist); i++) {
|
||||||
const hostname = nlist[i].hostname;
|
const hostname = hlist[i].hostname;
|
||||||
print(`<div style='flex:0.75'><a onclick="event.stopPropagation()" title='Link status: hidden' href='http://${hostname}.local.mesh'>${hostname}</a></div>`);
|
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>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue