From 78bfe94f4984966dffc5591a9f6889d6afc67b61 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Fri, 21 Jul 2017 04:09:55 -0700 Subject: [PATCH] kmd native progress placeholder fix --- .../dashboard/walletsProgress/walletsProgress.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/react/src/components/dashboard/walletsProgress/walletsProgress.js b/react/src/components/dashboard/walletsProgress/walletsProgress.js index b63c2a2..6029230 100644 --- a/react/src/components/dashboard/walletsProgress/walletsProgress.js +++ b/react/src/components/dashboard/walletsProgress/walletsProgress.js @@ -171,9 +171,13 @@ class WalletsProgress extends React.Component { `: ${this.parseActivatingBestChainProgress()[0]} (current block)` ); } else { - return ( - `: ${currentProgress}% (${ translate('INDEX.RESCAN_SM') })` - ); + if (currentProgress) { + return ( + `: ${currentProgress}% (${ translate('INDEX.RESCAN_SM') })` + ); + } else { + return null; + } } } else if ( this.props.Settings.debugLog.indexOf('LoadExternalBlockFile:') > -1 ||