Skip to content

Commit

Permalink
#1388: Set set_subscribe_callback boolean to false
Browse files Browse the repository at this point in the history
  • Loading branch information
svk31 committed Mar 24, 2018
1 parent acd83b2 commit 75b7034
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/components/Account/AccountPermissionsList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,4 @@ class AccountPermissionsList extends React.Component {
}
}

export default BindToChainState(AccountPermissionsList, {keep_updating: true});
export default BindToChainState(AccountPermissionsList, {autosubscribe: false});
2 changes: 1 addition & 1 deletion app/routerTransition.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const willTransitionTo = (
return Promise.all([dbPromise, SettingsStore.init()])
.then(() => {
let chainStoreResetPromise = chainChanged
? ChainStore.resetCache()
? ChainStore.resetCache(false)
: Promise.resolve();
return chainStoreResetPromise.then(() => {
return Promise.all([
Expand Down
2 changes: 1 addition & 1 deletion app/stores/BlockchainStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class BlockchainStore {

onUpdateRpcConnectionStatus(status) {
let prev_status = this.rpc_connection_status;
if (status === "reconnect") ChainStore.resetCache();
if (status === "reconnect") ChainStore.resetCache(false);
else this.rpc_connection_status = status;
if (prev_status === null && status === "error")
this.no_ws_connection = true;
Expand Down

1 comment on commit 75b7034

@svk31
Copy link
Contributor Author

@svk31 svk31 commented on 75b7034 Mar 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should have been #1338

Please sign in to comment.