Browse Source

claim interest auto close toaster

v0.25
pbca26 7 years ago
parent
commit
60f8084975
  1. 2
      react/src/components/dashboard/claimInterestModal/claimInterestModal.render.js
  2. 2
      react/src/components/dashboard/importKeyModal/importKeyModal.js
  3. 4
      react/src/components/dashboard/navbar/navbar.render.js

2
react/src/components/dashboard/claimInterestModal/claimInterestModal.render.js

@ -15,7 +15,7 @@ export const _ClaimInterestTableRender = function() {
className="btn btn-default btn-xs clipboard-edexaddr copy-string-btn"
title={ translate('INDEX.COPY_TO_CLIPBOARD') }
onClick={ () => this.copyTxId(_transactionsList[i].txid) }>
<i className="icon wb-copy"></i> { translate('INDEX.COPY') }
<i className="icon wb-copy"></i> { translate('INDEX.COPY') + ' TXID' }
</button>
</td>
<td>{ _transactionsList[i].address }</td>

2
react/src/components/dashboard/importKeyModal/importKeyModal.js

@ -174,7 +174,7 @@ class ImportKeyModal extends React.Component {
rescan ? translate('INDEX.WALLET_RESCAN_FINISHED') : translate('INDEX.ADDRESS_IMPORTED'),
translate('TOASTR.WALLET_NOTIFICATION'),
'success',
false
rescan ? false : true,
)
);
} else {

4
react/src/components/dashboard/navbar/navbar.render.js

@ -111,6 +111,8 @@ const NavbarRender = function() {
</li>
{ this.props.Main &&
this.props.Main.isLoggedIn &&
this.props.Main.spv &&
this.props.Main.spv.length &&
<li>
<a onClick={ this.spvLock }>
<i className="icon fa-lock"></i> Lock
@ -119,6 +121,8 @@ const NavbarRender = function() {
}
{ this.props.Main &&
this.props.Main.isLoggedIn &&
this.props.Main.spv &&
this.props.Main.spv.length &&
<li>
<a onClick={ this.spvLogout }>
<i className="icon fa-power-off"></i> Logout

Loading…
Cancel
Save