|
|
|
@ -269,16 +269,16 @@ SignatureRequest.prototype.renderBody = function () { |
|
|
|
|
|
|
|
|
|
h('div.request-signature__rows', |
|
|
|
|
type === 'eth_signTypedData' && (version === 'V3' || version === 'V4') ? |
|
|
|
|
this.renderTypedData(data) : |
|
|
|
|
rows.map(({ name, value }) => { |
|
|
|
|
if (typeof value === 'boolean') { |
|
|
|
|
value = value.toString() |
|
|
|
|
} |
|
|
|
|
return h('div.request-signature__row', [ |
|
|
|
|
h('div.request-signature__row-title', [`${name}:`]), |
|
|
|
|
h('div.request-signature__row-value', value), |
|
|
|
|
]) |
|
|
|
|
}), |
|
|
|
|
this.renderTypedData(data) : |
|
|
|
|
rows.map(({ name, value }) => { |
|
|
|
|
if (typeof value === 'boolean') { |
|
|
|
|
value = value.toString() |
|
|
|
|
} |
|
|
|
|
return h('div.request-signature__row', [ |
|
|
|
|
h('div.request-signature__row-title', [`${name}:`]), |
|
|
|
|
h('div.request-signature__row-value', value), |
|
|
|
|
]) |
|
|
|
|
}), |
|
|
|
|
), |
|
|
|
|
]) |
|
|
|
|
} |
|
|
|
|