fix(web): fix node count showing 2x by counting only details elements
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
622d010cb1
commit
dae5bdcb9e
|
|
@ -10,7 +10,7 @@ import { renderRoleOptions } from "./roles.js";
|
|||
import { state } from "./state.js";
|
||||
|
||||
function updatePointSourceNodeCount() {
|
||||
const count = dom.nodeTree.querySelectorAll("details, summary").length;
|
||||
const count = dom.nodeTree.querySelectorAll("details").length;
|
||||
dom.pointSourceNodeCount.textContent = `Nodes: ${count}`;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue