From b6b1b626411c246c95ae9d3360e971a03ba005fb Mon Sep 17 00:00:00 2001 From: pbca26 Date: Wed, 21 Feb 2018 20:54:09 +0300 Subject: [PATCH] elections history render reorg --- .../notaryElectionsModal/notaryElectionsModal.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/react/src/components/dashboard/notaryElectionsModal/notaryElectionsModal.js b/react/src/components/dashboard/notaryElectionsModal/notaryElectionsModal.js index d7b0254..78f507a 100755 --- a/react/src/components/dashboard/notaryElectionsModal/notaryElectionsModal.js +++ b/react/src/components/dashboard/notaryElectionsModal/notaryElectionsModal.js @@ -115,7 +115,7 @@ class NotaryElectionsModal extends React.Component { } sendMulti() { - const _divisor = 10; + const _divisor = 4; let _addressValidateMsg = []; for (let i = 0; i < 4; i++) { @@ -466,8 +466,8 @@ class NotaryElectionsModal extends React.Component { { _history[i].address } { _history[i].amount === 'unknown' ? 'unknown' : Number(_history[i].amount) } - { _history[i].region === 'unknown' ? 'unknown' : this.renderHistoryRegion(_history[i].region) } { secondsToString(_history[i].timestamp) } + { this.renderHistoryRegion(_history[i].region) } ); } @@ -478,8 +478,8 @@ class NotaryElectionsModal extends React.Component { { this.state.userType === 'voter' ? 'To' : 'From' } { translate('INDEX.AMOUNT') } - Region Time + Region @@ -489,8 +489,8 @@ class NotaryElectionsModal extends React.Component { { this.state.userType === 'voter' ? 'To' : 'From' } { translate('INDEX.AMOUNT') } - Region Time + Region