Browse Source

force enable cache

all-modes
Petr Balashov 8 years ago
parent
commit
0bc182b3ca
  1. 2
      react/src/components/dashboard/sendCoin.js
  2. 2
      react/src/components/dashboard/walletsData.js

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

@ -258,7 +258,7 @@ class SendCoin extends React.Component {
<span className="label label-success">{this.props.ActiveCoin.lastSendToResponse[key] === true ? 'true' : 'success'}</span> <span className="label label-success">{this.props.ActiveCoin.lastSendToResponse[key] === true ? 'true' : 'success'}</span>
); );
} else { } else {
if (this.props.ActiveCoin.lastSendToResponse[key].length > 20 && key === 'result') { if (this.props.ActiveCoin.lastSendToResponse[key] && this.props.ActiveCoin.lastSendToResponse[key].length > 20 && key === 'result') {
return ( return (
<span>{this.props.ActiveCoin.lastSendToResponse[key]}</span> <span>{this.props.ActiveCoin.lastSendToResponse[key]}</span>
); );

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

@ -42,7 +42,7 @@ class WalletsData extends React.Component {
addressSelectorOpen: false, addressSelectorOpen: false,
currentStackLength: 0, currentStackLength: 0,
totalStackLength: 0, totalStackLength: 0,
useCache: sessionStorage.getItem('useCache') ? true : false, useCache: true,
}; };
this.updateInput = this.updateInput.bind(this); this.updateInput = this.updateInput.bind(this);
this.toggleBasiliskActionsMenu = this.toggleBasiliskActionsMenu.bind(this); this.toggleBasiliskActionsMenu = this.toggleBasiliskActionsMenu.bind(this);

Loading…
Cancel
Save