Some fixes

This commit is contained in:
Gregory Schier
2026-03-11 16:00:24 -07:00
parent d4a6735881
commit 568a1b80ed
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -81,6 +81,7 @@ function buildTree(exchanges: HttpExchange[]): TreeNode<SidebarItem> {
parent: null,
depth: 0,
children: [],
draggable: false,
};
// Intermediate trie structure for building
@@ -153,6 +154,7 @@ function buildTree(exchanges: HttpExchange[]): TreeNode<SidebarItem> {
parent,
depth,
children: [],
draggable: false,
};
for (const child of trie.children.values()) {
node.children!.push(toTreeNode(child, node, depth + 1));
@@ -167,6 +169,7 @@ function buildTree(exchanges: HttpExchange[]): TreeNode<SidebarItem> {
parent: rootNode,
depth: 1,
children: [],
draggable: false,
};
const sortedDomains = [...domainMap.values()].sort((a, b) =>