From ffc2c63493c5dbb90e699301ed584a99ac2250db Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 19 Jan 2017 16:33:04 +0100 Subject: [PATCH] display struct full type --- src/ui/SolidityTypeFormatter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/SolidityTypeFormatter.js b/src/ui/SolidityTypeFormatter.js index cd736eac6f..53344071a5 100644 --- a/src/ui/SolidityTypeFormatter.js +++ b/src/ui/SolidityTypeFormatter.js @@ -35,7 +35,7 @@ function extractData (item, parent, key) { ret.length = item.length } else if (item.type.indexOf('struct') === 0) { ret.children = item.value || [] - ret.self = 'Struct' + '{' + Object.keys(ret.children).length + '}' + ret.self = item.type ret.isStruct = true } else { ret.children = []