Prevent repeated fetching

fix-emoji-picker
jasper 6 years ago
parent 8c7f765dff
commit 1570e779b1

@ -52,7 +52,7 @@ const Timeline = {
window.addEventListener('scroll', this.scrollLoad)
if (this.timelineName === 'friends' && !credentials) { return false }
if (store.state.api.fetchers[this.timelineName]) { return false }
timelineFetcher.fetchAndUpdate({
store,

Loading…
Cancel
Save