Commit dbbaad36 authored by yann300's avatar yann300

fix TreeView UI

parent ff052d75
......@@ -48,7 +48,7 @@ function extractData (item, parent, key) {
ret.isMapping = true
ret.self = item.type
} else {
ret.children = []
ret.children = null
ret.self = item.value
ret.type = item.type
}
......
......@@ -175,7 +175,7 @@ class TreeView {
ret.isLeaf = false
} else {
ret.self = item
ret.children = []
ret.children = null
ret.isNode = false
ret.isLeaf = true
}
......
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