aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/timeline/timeline.js')
-rw-r--r--src/components/timeline/timeline.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index 06832898..62536bc5 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -11,7 +11,8 @@ const Timeline = {
'title',
'userId',
'tag',
- 'embedded'
+ 'embedded',
+ 'count'
],
data () {
return {
@@ -53,6 +54,8 @@ const Timeline = {
window.addEventListener('scroll', this.scrollLoad)
+ if (this.timelineName === 'friends' && !credentials) { return false }
+
timelineFetcher.fetchAndUpdate({
store,
credentials,