Skip to content

Commit

Permalink
Emphasize whole row for current client in API session table (#2865)
Browse files Browse the repository at this point in the history
  • Loading branch information
yubiuser committed Nov 22, 2023
2 parents 17fca26 + e7be61b commit 54dba57
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scripts/pi-hole/js/settings-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,8 @@ $(function () {
$("td:eq(9)", row).html(button);
if (data.current_session) {
ownSessionID = data.id;
$("td:eq(7)", row).html(
'<strong title="This is the session you are currently using for the web interface">' +
data.remote_addr +
"</strong>"
);
$(row).addClass("text-bold");
$(row).attr("title", "This is the session you are currently using for the web interface");
}

let icon = "";
Expand Down

0 comments on commit 54dba57

Please sign in to comment.