|
|
@ -99,16 +99,16 @@ export const ChainActivationNotificationRender = function() { |
|
|
|
if (this.props.ActiveCoin.coin !== 'CHIPS') { |
|
|
|
return ( |
|
|
|
<div> |
|
|
|
<div className={ 'alert alert-info alert-dismissible margin-bottom-' + (this.state.isWindows && !this.state.isWindowsWorkaroundEnabled && this.isWinSyncPercBelowThreshold() && this.props.ActiveCoin && this.props.ActiveCoin.mode === 'native' && this.props.ActiveCoin.coin === 'KMD' ? 20 : 50) }> |
|
|
|
<div className={ 'alert alert-info alert-dismissible margin-bottom-' + (this.state.isWindows && !this.state.isWindowsWorkaroundEnabled && this.isWinSyncPercBelowThreshold() === true && this.props.ActiveCoin && this.props.ActiveCoin.mode === 'native' && this.props.ActiveCoin.coin === 'KMD' ? 20 : 50) }> |
|
|
|
<h4> |
|
|
|
{ translate('INDEX.ACTIVATING_CHAIN') } |
|
|
|
{ this.props.ActiveCoin.rescanInProgress ? (this.renderRescanProgress() ? `: ${this.renderRescanProgress().toFixed(2)}% ${translate('INDEX.PROGRESS_RESCANNING_BLOCKS')}` : translate('INDEX.PROGRESS_RESCANNING_BLOCKS')) : this.renderActivatingBestChainProgress() } |
|
|
|
{ this.props.ActiveCoin.rescanInProgress || (this.props.ActiveCoin.progress && this.props.ActiveCoin.progress.code && this.props.ActiveCoin.progress.code === -28 && this.props.ActiveCoin.progress.message === 'Rescanning...') ? (this.renderRescanProgress() ? `: ${this.renderRescanProgress().toFixed(2)}% ${translate('INDEX.PROGRESS_RESCANNING_BLOCKS')}` : translate('INDEX.PROGRESS_RESCANNING_BLOCKS')) : this.renderActivatingBestChainProgress() } |
|
|
|
</h4> |
|
|
|
<p>{ this.renderLB('INDEX.KMD_STARTED') }</p> |
|
|
|
</div> |
|
|
|
{ this.state.isWindows && |
|
|
|
!this.state.isWindowsWorkaroundEnabled && |
|
|
|
this.isWinSyncPercBelowThreshold() && |
|
|
|
this.isWinSyncPercBelowThreshold() === true && |
|
|
|
this.props.ActiveCoin && |
|
|
|
this.props.ActiveCoin.mode === 'native' && |
|
|
|
this.props.ActiveCoin.coin === 'KMD' && |
|
|
|