Prevent repeated fetching

This commit is contained in:
jasper 2019-04-09 08:38:13 -07:00
parent 8c7f765dff
commit 1570e779b1

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,