fix TreeView UI

pull/3094/head
yann300 7 years ago
parent b9b8ca5fdd
commit 31777f1289
  1. 2
      remix-debugger/src/ui/SolidityTypeFormatter.js
  2. 2
      remix-debugger/src/ui/TreeView.js

@ -48,7 +48,7 @@ function extractData (item, parent, key) {
ret.isMapping = true ret.isMapping = true
ret.self = item.type ret.self = item.type
} else { } else {
ret.children = [] ret.children = null
ret.self = item.value ret.self = item.value
ret.type = item.type ret.type = item.type
} }

@ -175,7 +175,7 @@ class TreeView {
ret.isLeaf = false ret.isLeaf = false
} else { } else {
ret.self = item ret.self = item
ret.children = [] ret.children = null
ret.isNode = false ret.isNode = false
ret.isLeaf = true ret.isLeaf = true
} }

Loading…
Cancel
Save