1 parent 3b9e3c9 commit 9c7ee56Copy full SHA for 9c7ee56
1 file changed
src/uipath/_cli/_dev/_terminal/_components/_details.py
@@ -292,7 +292,8 @@ def _show_run_details(self, run: ExecutionRun):
292
def _rebuild_spans_tree(self):
293
"""Rebuild the spans tree from current run's traces."""
294
spans_tree = self.query_one("#spans-tree", Tree)
295
- spans_tree.clear()
+ spans_tree.root.remove_children()
296
+
297
# Only clear the node mapping since we're rebuilding the tree structure
298
self.span_tree_nodes.clear()
299
0 commit comments