diff options
author | Dan J Miller <danjm.com@gmail.com> | 2018-06-30 03:30:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-30 03:30:51 +0800 |
commit | 22debbfec8b571241c874b0ee99d0d4c732076ea (patch) | |
tree | ca0e65228754a9807a456028cee80668898a1223 /ui | |
parent | f6238b2d39d3899a41ad4f774d7d4922fecf885e (diff) | |
parent | f17d99f81cbb72126a0d67a8d2c7d3e55bf4a4c1 (diff) | |
download | tangerine-wallet-browser-22debbfec8b571241c874b0ee99d0d4c732076ea.tar tangerine-wallet-browser-22debbfec8b571241c874b0ee99d0d4c732076ea.tar.gz tangerine-wallet-browser-22debbfec8b571241c874b0ee99d0d4c732076ea.tar.bz2 tangerine-wallet-browser-22debbfec8b571241c874b0ee99d0d4c732076ea.tar.lz tangerine-wallet-browser-22debbfec8b571241c874b0ee99d0d4c732076ea.tar.xz tangerine-wallet-browser-22debbfec8b571241c874b0ee99d0d4c732076ea.tar.zst tangerine-wallet-browser-22debbfec8b571241c874b0ee99d0d4c732076ea.zip |
Merge pull request #4640 from weijiekoh/develop
Fix for #4639: display values of EIP712 typed boolean fields in the signing prompt
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/signature-request.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/app/components/signature-request.js b/ui/app/components/signature-request.js index 2a3e929fe..bbb340fcf 100644 --- a/ui/app/components/signature-request.js +++ b/ui/app/components/signature-request.js @@ -204,6 +204,9 @@ SignatureRequest.prototype.renderBody = function () { h('div.request-signature__rows', [ ...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), |