Skip to content

Commit

Permalink
fix star covering desc in list view Ylianst#6174
Browse files Browse the repository at this point in the history
Signed-off-by: si458 <simonsmith5521@gmail.com>
  • Loading branch information
si458 committed Jun 12, 2024
1 parent 5950b2c commit c053c14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/default.handlebars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
Expand Down Expand Up @@ -4791,7 +4791,7 @@
}
}

if (node.desc && (deviceViewSettings.devsCols.indexOf('desc') >= 0)) { name = '<div style=float:right>' + EscapeHtml(node.desc) + '</div><div>' + name + '</div>'; }
if (node.desc && (deviceViewSettings.devsCols.indexOf('desc') >= 0)) { name = '<div style=float:right' + (stars[node._id] == 1 ? ';padding-right:15px' : '') + '>' + EscapeHtml(node.desc) + '</div><div>' + name + '</div>'; }

var collapseName = node.meshid;
if (sort == 1) { collapseName = ('pwr:' + (node.pwr?node.pwr:0)); }
Expand Down

0 comments on commit c053c14

Please sign in to comment.