mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
fixed blank boolean field for typed signing for old UI
This commit is contained in:
parent
1ff29c5b4a
commit
f4d085550e
@ -34,9 +34,13 @@ TypedMessageRenderer.prototype.render = function () {
|
||||
|
||||
function renderTypedData (values) {
|
||||
return values.map(function (value) {
|
||||
let v = value.value
|
||||
if (typeof v === "boolean") {
|
||||
v = v.toString()
|
||||
}
|
||||
return h('div', {}, [
|
||||
h('strong', {style: {display: 'block', fontWeight: 'bold'}}, String(value.name) + ':'),
|
||||
h('div', {}, value.value),
|
||||
h('div', {}, v),
|
||||
])
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user