diff --git a/static/js/index.js b/static/js/index.js index 188f814..f77bdd2 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -322,7 +322,7 @@ function addHost() { pairTo(_nvhttpHost, function () { // Check if we already have record of this host - if (hosts[_nvhttpHost.serverUid] !== null) { + if (hosts[_nvhttpHost.serverUid] !== undefined) { // Just update the addresses hosts[_nvhttpHost.serverUid].address = _nvhttpHost.address; hosts[_nvhttpHost.serverUid].userEnteredAddress = _nvhttpHost.userEnteredAddress;