about summary refs log tree commit diff
path: root/app/assets/javascripts/components/actions/timelines.jsx
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-12-12 14:39:18 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-12-12 14:39:18 +0100
commit908fcf83c6a2df34769f04c98fbe0edf31f6959f (patch)
tree97ef60121f186cd037a471fdad25cc8d13f60fc9 /app/assets/javascripts/components/actions/timelines.jsx
parent6d1066fe61984f6e5b226a79bb801aa765453d83 (diff)
Fix timelines loading bug
Diffstat (limited to 'app/assets/javascripts/components/actions/timelines.jsx')
-rw-r--r--app/assets/javascripts/components/actions/timelines.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/actions/timelines.jsx b/app/assets/javascripts/components/actions/timelines.jsx
index 5aab993c1..0e6f09190 100644
--- a/app/assets/javascripts/components/actions/timelines.jsx
+++ b/app/assets/javascripts/components/actions/timelines.jsx
@@ -67,7 +67,7 @@ export function refreshTimeline(timeline, id = null) {
     let params = '';
     let path   = timeline;
 
-    if (newestId !== null) {
+    if (newestId !== null && getState().getIn(['timelines', timeline, 'loaded'])) {
       params = `?since_id=${newestId}`;
     }