diff --git a/react/src/components/dashboard/main/dashboard.render.js b/react/src/components/dashboard/main/dashboard.render.js index b6b31e6..94f26cb 100644 --- a/react/src/components/dashboard/main/dashboard.render.js +++ b/react/src/components/dashboard/main/dashboard.render.js @@ -28,7 +28,7 @@ const DashboardRender = function() { - { !this.isNativeMode() && } + { !this.isNativeMode() && } diff --git a/react/src/components/dashboard/walletsNativeSyncProgress/walletsNativeSyncProgress.js b/react/src/components/dashboard/walletsNativeSyncProgress/walletsNativeSyncProgress.js index 941e372..b7ef01c 100644 --- a/react/src/components/dashboard/walletsNativeSyncProgress/walletsNativeSyncProgress.js +++ b/react/src/components/dashboard/walletsNativeSyncProgress/walletsNativeSyncProgress.js @@ -89,7 +89,7 @@ class WalletsNativeSyncProgress extends React.Component { for (let i = 0; i < temp.length; i++) { if (temp[i].indexOf('Progress=') > -1) { - currentProgress = Number(temp[i].replace('Progress=', '')) * 100; + currentProgress = (Number(temp[i].replace('Progress=', '')) * 100).toFixed(2); } } @@ -116,14 +116,16 @@ class WalletsNativeSyncProgress extends React.Component { } renderChainActivationNotification() { - if (this.props.Dashboard.progress) { + return ChainActivationNotificationRender.call(this); + + /* if (this.props.Dashboard.progress) { if ((!this.props.Dashboard.progress.blocks && !this.props.Dashboard.progress.longestchain) || (this.props.Dashboard.progress.blocks < this.props.Dashboard.progress.longestchain)) { return ChainActivationNotificationRender.call(this); } } else { return null; - } + } */ } render() {