From 908fcf83c6a2df34769f04c98fbe0edf31f6959f Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 12 Dec 2016 14:39:18 +0100 Subject: Fix timelines loading bug --- app/assets/javascripts/components/actions/timelines.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/assets/javascripts/components/actions/timelines.jsx') 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}`; } -- cgit