Commit b874fb30 authored by yann300's avatar yann300

fix list root (should be ul)

parent 60c2906b
...@@ -48,7 +48,7 @@ class TreeView { ...@@ -48,7 +48,7 @@ class TreeView {
var children = Object.keys(json).map((innerkey) => { var children = Object.keys(json).map((innerkey) => {
return this.renderObject(json[innerkey], innerkey, expand) return this.renderObject(json[innerkey], innerkey, expand)
}) })
return yo`<li style=${this.cssList}>${children}</li>` return yo`<ul style=${this.cssList}>${children}</ul>`
} }
formatDataDefault (key, self, children, expand) { formatDataDefault (key, self, children, expand) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment