aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.js
diff options
context:
space:
mode:
authorjasper <jasper92341@hotmail.com>2019-04-09 08:38:13 -0700
committerjasper <jasper92341@hotmail.com>2019-04-09 08:38:13 -0700
commit1570e779b1a3497f29e0681f1390322e8e65030b (patch)
tree3578aad2da6787696ca9220a3574221bf9aec282 /src/components/timeline/timeline.js
parent8c7f765dff8b66ff27aeeab5bc09cd715ab328a9 (diff)
Prevent repeated fetching
Diffstat (limited to 'src/components/timeline/timeline.js')
-rw-r--r--src/components/timeline/timeline.js2
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,