Skip to content

Commit

Permalink
Remove warning triangle
Browse files Browse the repository at this point in the history
Signed-off-by: Christian König <ckoenig@posteo.de>
  • Loading branch information
yubiuser committed Jan 21, 2023
1 parent 0155c36 commit faa596f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions scripts/pi-hole/js/groups-adlists.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,9 @@ function initTable() {
break;
}

// Append red exclamation-triangle when there are invalid lines on the list
var extra = "";
if (data.invalid_domains !== null && data.invalid_domains > 0) {
extra = "<i class='fa fa-exclamation-triangle list-status-3'></i>";
}

$("td:eq(1)", row).addClass("list-status-" + statusCode);
$("td:eq(1)", row).html(
"<i class='fa " + statusIcon + "' title='Click for details about this list'></i>" + extra
);
"<i class='fa " + statusIcon + "' title='Click for details about this list'></i>");

if (data.address.startsWith("file://")) {
// Local files cannot be downloaded from a distant client so don't show
Expand Down

0 comments on commit faa596f

Please sign in to comment.