Browse Source

WIP: Fix domainsBlocked function syntax error (partial fix)

mgomon 8 months ago
parent
commit
ee1bda5564
1 changed files with 1 additions and 0 deletions
  1. 1 0
      js/functions.js

+ 1 - 0
js/functions.js

@@ -7996,6 +7996,7 @@ function buildPiholeItem(array){
 			        card += `<p class="d-inline text-muted">(${key})</p>`;
 		        }
 		        let value = 'Error';
+		        if(e.length == undefined){
                     value = e['domains_being_blocked'].map(function (x) {
                         return `<li>${x.toString()}</li>`;
                     }).join("");