Skip to content

Commit

Permalink
Hide overlay
Browse files Browse the repository at this point in the history
Signed-off-by: Christian König <[email protected]>
  • Loading branch information
yubiuser committed Jul 8, 2024
1 parent 1897f68 commit 400f142
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/pi-hole/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ function updateTopClientsTable(blocked) {
// Add note if there are no results (e.g. privacy mode enabled)
if (jQuery.isEmptyObject(data.clients)) {
clienttable.append('<tr><td colspan="3"><center>- No data -</center></td></tr>');
overlay.hide();
return;
}

Expand Down Expand Up @@ -353,6 +354,7 @@ function updateTopDomainsTable(blocked) {
// Add note if there are no results (e.g. privacy mode enabled)
if (jQuery.isEmptyObject(data.domains)) {
domaintable.append('<tr><td colspan="3"><center>- No data -</center></td></tr>');
overlay.hide();
return;
}

Expand Down

0 comments on commit 400f142

Please sign in to comment.