Prevent repeated fetching
This commit is contained in:
parent
8c7f765dff
commit
1570e779b1
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ const Timeline = {
|
||||||
|
|
||||||
window.addEventListener('scroll', this.scrollLoad)
|
window.addEventListener('scroll', this.scrollLoad)
|
||||||
|
|
||||||
if (this.timelineName === 'friends' && !credentials) { return false }
|
if (store.state.api.fetchers[this.timelineName]) { return false }
|
||||||
|
|
||||||
timelineFetcher.fetchAndUpdate({
|
timelineFetcher.fetchAndUpdate({
|
||||||
store,
|
store,
|
||||||
|
|
Loading…
Reference in a new issue