aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorKoh Wei Jie <contact@kohweijie.com>2018-06-22 16:44:07 +0800
committerKoh Wei Jie <contact@kohweijie.com>2018-06-22 16:44:07 +0800
commitf4d085550e3a8b7c43f9e887126c5722e32cd828 (patch)
tree5a13a17f58c2ba5797d8b8da36c93cf2055a0ac2 /old-ui
parent1ff29c5b4aa305c6dc59736791a1dce642ae3991 (diff)
downloadtangerine-wallet-browser-f4d085550e3a8b7c43f9e887126c5722e32cd828.tar
tangerine-wallet-browser-f4d085550e3a8b7c43f9e887126c5722e32cd828.tar.gz
tangerine-wallet-browser-f4d085550e3a8b7c43f9e887126c5722e32cd828.tar.bz2
tangerine-wallet-browser-f4d085550e3a8b7c43f9e887126c5722e32cd828.tar.lz
tangerine-wallet-browser-f4d085550e3a8b7c43f9e887126c5722e32cd828.tar.xz
tangerine-wallet-browser-f4d085550e3a8b7c43f9e887126c5722e32cd828.tar.zst
tangerine-wallet-browser-f4d085550e3a8b7c43f9e887126c5722e32cd828.zip
fixed blank boolean field for typed signing for old UI
Diffstat (limited to 'old-ui')
-rw-r--r--old-ui/app/components/typed-message-renderer.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/old-ui/app/components/typed-message-renderer.js b/old-ui/app/components/typed-message-renderer.js
index d170d63b7..ed372d7bc 100644
--- a/old-ui/app/components/typed-message-renderer.js
+++ b/old-ui/app/components/typed-message-renderer.js
@@ -34,9 +34,13 @@ TypedMessageRenderer.prototype.render = function () {
function renderTypedData (values) {
return values.map(function (value) {
+ let v = value.value
+ if (typeof v === "boolean") {
+ v = v.toString()
+ }
return h('div', {}, [
h('strong', {style: {display: 'block', fontWeight: 'bold'}}, String(value.name) + ':'),
- h('div', {}, value.value),
+ h('div', {}, v),
])
})
}