aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-07-19 03:06:27 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-07-19 03:06:27 +0800
commit96cd087c9756ba8c9824af835c87c5a2a6512fee (patch)
tree26f44e60aae90a378f0935d39496fb4817b1facc /ui
parent2fc27314796427f4a3d9bfadf77dc1b0d6f317d4 (diff)
downloadtangerine-wallet-browser-96cd087c9756ba8c9824af835c87c5a2a6512fee.tar
tangerine-wallet-browser-96cd087c9756ba8c9824af835c87c5a2a6512fee.tar.gz
tangerine-wallet-browser-96cd087c9756ba8c9824af835c87c5a2a6512fee.tar.bz2
tangerine-wallet-browser-96cd087c9756ba8c9824af835c87c5a2a6512fee.tar.lz
tangerine-wallet-browser-96cd087c9756ba8c9824af835c87c5a2a6512fee.tar.xz
tangerine-wallet-browser-96cd087c9756ba8c9824af835c87c5a2a6512fee.tar.zst
tangerine-wallet-browser-96cd087c9756ba8c9824af835c87c5a2a6512fee.zip
Readd string to conform to tests. Will discuss later.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/util.js b/ui/app/util.js
index 84680fd06..04ebcecdb 100644
--- a/ui/app/util.js
+++ b/ui/app/util.js
@@ -96,7 +96,7 @@ function formatBalance (balance, decimalsToKeep) {
var parsed = parseBalance(balance)
var beforeDecimal = parsed[0]
var afterDecimal = parsed[1]
- var formatted
+ var formatted = 'None'
if (decimalsToKeep === undefined) {
if (beforeDecimal === '0') {
if (afterDecimal !== '0') {