aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorKoh Wei Jie <contact@kohweijie.com>2018-06-22 16:38:54 +0800
committerKoh Wei Jie <contact@kohweijie.com>2018-06-22 16:38:54 +0800
commit1ff29c5b4aa305c6dc59736791a1dce642ae3991 (patch)
treeeff9bd7dddaab5eecabcea74cedd6fb64e79aa8a /ui/app/components
parent46b2f1df11b83e961ebb3adb96c2e8cd116f9ae3 (diff)
downloadtangerine-wallet-browser-1ff29c5b4aa305c6dc59736791a1dce642ae3991.tar.gz
tangerine-wallet-browser-1ff29c5b4aa305c6dc59736791a1dce642ae3991.tar.zst
tangerine-wallet-browser-1ff29c5b4aa305c6dc59736791a1dce642ae3991.zip
fixed blank boolean field for typed signing for new UI
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/signature-request.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/app/components/signature-request.js b/ui/app/components/signature-request.js
index 2a3e929fe..79f2f42d1 100644
--- a/ui/app/components/signature-request.js
+++ b/ui/app/components/signature-request.js
@@ -204,6 +204,10 @@ SignatureRequest.prototype.renderBody = function () {
h('div.request-signature__rows', [
...rows.map(({ name, value }) => {
+ console.log(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),