From ae126b01b70553dfb2ccede525a259ed7b71f47d Mon Sep 17 00:00:00 2001 From: Anton Yemelyanov Date: Mon, 16 Sep 2024 10:49:11 +0300 Subject: [PATCH] update status --- templates/index.js | 4 +++- templates/public.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/index.js b/templates/index.js index eaca5d2..035c2f3 100644 --- a/templates/index.js +++ b/templates/index.js @@ -122,7 +122,9 @@ function render() { window.resolver.lastSort = window.resolver.sort; } - window.resolver.nodes.forEach((node) => { + window.resolver.nodes + .filter((node) => !(node.sid == "0000000000000000" && node.encoding == "json")) + .forEach((node) => { let { version, sid, diff --git a/templates/public.js b/templates/public.js index 1c27fe4..cb75b2b 100644 --- a/templates/public.js +++ b/templates/public.js @@ -81,7 +81,9 @@ function render() { window.resolver.lastSort = window.resolver.sort; } - window.resolver.nodes.forEach((node) => { + window.resolver.nodes + .filter((node) => !(node.sid == "0000000000000000" && node.encoding == "json")) + .forEach((node) => { let { version, sid,