diff --git a/scripts/pi-hole/js/settings-api.js b/scripts/pi-hole/js/settings-api.js
index 506fb7e8..b0e4fea2 100644
--- a/scripts/pi-hole/js/settings-api.js
+++ b/scripts/pi-hole/js/settings-api.js
@@ -91,21 +91,22 @@ $(function () {
data.remote_addr +
""
);
- let icon = "";
- let title = "";
- if (data.tls.mixed) {
- title = "Session is PARTIALLY end-to-end encrypted";
- icon = "fa-triangle-exclamation";
- } else if (data.tls.login) {
- title = "Session is end-to-end encrypted (TLS/SSL)";
- icon = "fa-check";
- } else {
- title = "Session is NOT end-to-end encrypted (TLS/SSL)";
- icon = "fa-xmark";
- }
-
- $("td:eq(3)", row).html('');
}
+
+ let icon = "";
+ let title = "";
+ if (data.tls.mixed) {
+ title = "Session is PARTIALLY end-to-end encrypted";
+ icon = "fa-triangle-exclamation";
+ } else if (data.tls.login) {
+ title = "Session is end-to-end encrypted (TLS/SSL)";
+ icon = "fa-check";
+ } else {
+ title = "Session is NOT end-to-end encrypted (TLS/SSL)";
+ icon = "fa-xmark";
+ }
+
+ $("td:eq(3)", row).html('');
},
select: {
style: "multi",