Commit 23c1c146 authored by ZeHiro's avatar ZeHiro
Browse files

Update lastsync date after manual fetch (bug created by infinite scroll implementation)

parent 610e9575
......@@ -15,7 +15,8 @@ export default class SyncButton extends React.Component {
}
shouldComponentUpdate(nextProps, nextState) {
return this.state.isSynchronizing !== nextState.isSynchronizing;
return this.state.isSynchronizing !== nextState.isSynchronizing ||
this.props.account.lastChecked !== nextProps.account.lastChecked;
}
handleFetch() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment