display struct full type

pull/7/head
yann300 8 years ago
parent 557527d29b
commit ffc2c63493
  1. 2
      src/ui/SolidityTypeFormatter.js

@ -35,7 +35,7 @@ function extractData (item, parent, key) {
ret.length = item.length ret.length = item.length
} else if (item.type.indexOf('struct') === 0) { } else if (item.type.indexOf('struct') === 0) {
ret.children = item.value || [] ret.children = item.value || []
ret.self = 'Struct' + '{' + Object.keys(ret.children).length + '}' ret.self = item.type
ret.isStruct = true ret.isStruct = true
} else { } else {
ret.children = [] ret.children = []

Loading…
Cancel
Save