From 0bc182b3ca0a2a5d1e00a4ad3594dd506747656c Mon Sep 17 00:00:00 2001 From: Petr Balashov Date: Tue, 2 May 2017 15:47:27 +0200 Subject: [PATCH] force enable cache --- react/src/components/dashboard/sendCoin.js | 2 +- react/src/components/dashboard/walletsData.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/react/src/components/dashboard/sendCoin.js b/react/src/components/dashboard/sendCoin.js index 4b26e35..bbd8bdc 100644 --- a/react/src/components/dashboard/sendCoin.js +++ b/react/src/components/dashboard/sendCoin.js @@ -258,7 +258,7 @@ class SendCoin extends React.Component { {this.props.ActiveCoin.lastSendToResponse[key] === true ? 'true' : 'success'} ); } 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 ( {this.props.ActiveCoin.lastSendToResponse[key]} ); diff --git a/react/src/components/dashboard/walletsData.js b/react/src/components/dashboard/walletsData.js index 7bac4e9..8cbc8cb 100644 --- a/react/src/components/dashboard/walletsData.js +++ b/react/src/components/dashboard/walletsData.js @@ -42,7 +42,7 @@ class WalletsData extends React.Component { addressSelectorOpen: false, currentStackLength: 0, totalStackLength: 0, - useCache: sessionStorage.getItem('useCache') ? true : false, + useCache: true, }; this.updateInput = this.updateInput.bind(this); this.toggleBasiliskActionsMenu = this.toggleBasiliskActionsMenu.bind(this);