Uibench final fix
This commit is contained in:
parent
2b9880a9a2
commit
e434517dd1
2 changed files with 5 additions and 2 deletions
|
|
@ -98,6 +98,10 @@ proc createTreeNode(data: TreeNodeState): VNode =
|
|||
children.add(createTreeNode(n))
|
||||
else:
|
||||
children.add(createTreeLeaf(n))
|
||||
result = buildHtml(ul(class="TreeNode")):
|
||||
for child in children:
|
||||
child
|
||||
|
||||
|
||||
proc treeCreateVNode(data: TreeState): VNode =
|
||||
kout cstring"treeCreateVNode"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue