From c6ef125b82f55d85c491c73244738db416c52b40 Mon Sep 17 00:00:00 2001 From: Gokul Prathin Date: Thu, 8 Feb 2024 16:26:49 -0500 Subject: [PATCH] fixed localhost check --- src/main/resources/static/js/gw.host.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/js/gw.host.js b/src/main/resources/static/js/gw.host.js index 65180d28e..0e53c2f88 100644 --- a/src/main/resources/static/js/gw.host.js +++ b/src/main/resources/static/js/gw.host.js @@ -1624,7 +1624,7 @@ GW.host = { var delbtn = ""; // if(hostip!="127.0.0.1") - if(msg.name!="localhost") + if(String(msg.name).replace(/ /g, "").toLowerCase() !== "localhost") delbtn = ""; content += ""+