Prevent repeated fetching

This commit is contained in:
jasper 2019-04-09 08:38:13 -07:00
parent 8c7f765dff
commit 1570e779b1
1 changed files with 1 additions and 1 deletions

View File

@ -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,