1
0
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:
Koh Wei Jie 2018-06-22 16:38:54 +08:00
parent 46b2f1df11
commit 1ff29c5b4a

View File

@ -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),