Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jan
kresus
Commits
23c1c146
Commit
23c1c146
authored
Jun 10, 2016
by
ZeHiro
Browse files
Update lastsync date after manual fetch (bug created by infinite scroll implementation)
parent
610e9575
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/components/operations/sync-button.js
View file @
23c1c146
...
...
@@ -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
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment