diff options
| author | jasper <jasper92341@hotmail.com> | 2019-04-09 08:38:13 -0700 |
|---|---|---|
| committer | jasper <jasper92341@hotmail.com> | 2019-04-09 08:38:13 -0700 |
| commit | 1570e779b1a3497f29e0681f1390322e8e65030b (patch) | |
| tree | 3578aad2da6787696ca9220a3574221bf9aec282 | |
| parent | 8c7f765dff8b66ff27aeeab5bc09cd715ab328a9 (diff) | |
Prevent repeated fetching
| -rw-r--r-- | src/components/timeline/timeline.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index 1da7d5cc..19d9a9ac 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -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, |
