diff options
author | Alexander Tseung <alextsg@gmail.com> | 2017-10-26 09:23:46 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-26 09:44:24 +0800 |
commit | 22d9e3a7e6dfd21b3ea52007030d71f53e29b851 (patch) | |
tree | 70cf675df91d5fe05185a99b72cb4edf44b5ba9a /ui/app/components/qr-code.js | |
parent | fa95303e1efef03db6c44878b89ccca680639598 (diff) | |
download | tangerine-wallet-browser-22d9e3a7e6dfd21b3ea52007030d71f53e29b851.tar tangerine-wallet-browser-22d9e3a7e6dfd21b3ea52007030d71f53e29b851.tar.gz tangerine-wallet-browser-22d9e3a7e6dfd21b3ea52007030d71f53e29b851.tar.bz2 tangerine-wallet-browser-22d9e3a7e6dfd21b3ea52007030d71f53e29b851.tar.lz tangerine-wallet-browser-22d9e3a7e6dfd21b3ea52007030d71f53e29b851.tar.xz tangerine-wallet-browser-22d9e3a7e6dfd21b3ea52007030d71f53e29b851.tar.zst tangerine-wallet-browser-22d9e3a7e6dfd21b3ea52007030d71f53e29b851.zip |
Allow editing account name in account details modal
Diffstat (limited to 'ui/app/components/qr-code.js')
-rw-r--r-- | ui/app/components/qr-code.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/app/components/qr-code.js b/ui/app/components/qr-code.js index cc723df14..83885539c 100644 --- a/ui/app/components/qr-code.js +++ b/ui/app/components/qr-code.js @@ -29,11 +29,11 @@ QrCodeView.prototype.render = function () { const qrImage = qrCode(4, 'M') qrImage.addData(address) qrImage.make() - return h('.div.flex-column.flex-center', { - style: { - }, - }, [ - Array.isArray(Qr.message) ? h('.message-container', this.renderMultiMessage()) : h('.qr-header', Qr.message), + + return h('.div.flex-column.flex-center', [ + Array.isArray(Qr.message) + ? h('.message-container', this.renderMultiMessage()) + : Qr.message && h('.qr-header', Qr.message), this.props.warning ? this.props.warning && h('span.error.flex-center', { style: { |