Fixed cache check for version 000000 and removed debug
This commit is contained in:
parent
fd02eee9c1
commit
ace25a04cc
2 changed files with 1 additions and 2 deletions
|
@ -695,7 +695,7 @@ async function check_updates() {
|
|||
const version = version_node.hasAttribute("value") ? version_node.getAttribute("value") : undefined;
|
||||
if(!version) return undefined;
|
||||
|
||||
if(version == "unknown" || version.replace("0", "").length == 0)
|
||||
if(version == "unknown" || version.replace(/0+/, "").length == 0)
|
||||
return undefined;
|
||||
|
||||
return version;
|
||||
|
|
|
@ -513,7 +513,6 @@ class ClientEntry {
|
|||
let icon: string = "";
|
||||
let clicon: string = "";
|
||||
|
||||
console.error(this.properties.client_nickname + " - " + this.properties.client_type_exact + " - " + this.properties.client_type);
|
||||
if(this.properties.client_type_exact == ClientType.CLIENT_QUERY) {
|
||||
icon = "client-server_query";
|
||||
console.log("Server query!");
|
||||
|
|
Loading…
Add table
Reference in a new issue