mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fixed blank boolean field for typed signing for new UI
This commit is contained in:
parent
46b2f1df11
commit
1ff29c5b4a
@ -204,6 +204,10 @@ SignatureRequest.prototype.renderBody = function () {
|
|||||||
h('div.request-signature__rows', [
|
h('div.request-signature__rows', [
|
||||||
|
|
||||||
...rows.map(({ name, value }) => {
|
...rows.map(({ name, value }) => {
|
||||||
|
console.log(value)
|
||||||
|
if (typeof value === 'boolean') {
|
||||||
|
value = value.toString()
|
||||||
|
}
|
||||||
return h('div.request-signature__row', [
|
return h('div.request-signature__row', [
|
||||||
h('div.request-signature__row-title', [`${name}:`]),
|
h('div.request-signature__row-title', [`${name}:`]),
|
||||||
h('div.request-signature__row-value', value),
|
h('div.request-signature__row-value', value),
|
||||||
|
Loading…
Reference in New Issue
Block a user