Do no show empty names in tooltips

This commit is contained in:
feelfree69
2026-04-14 18:28:13 +02:00
parent b31179acbe
commit 2565aeadf4
+1 -1
View File
@@ -152,7 +152,7 @@ function update(callback) {
continue;
const portName = p.name || portNames[p.logPort] || '';
var iHTML = "<table border=\"0\" class=\"tt_table\">";
iHTML += "<tr><td align=\"left\">Name</td><td>:</td><td>" + portName + "</td></tr>";
if (portName) iHTML += "<tr><td align=\"left\">Name</td><td>:</td><td>" + portName + "</td></tr>";
if (p.enabled == 0) {
pState[n] = -1;
bgs[0].style.fill = "red";