From 6611e3a2efbae27585f0153211b6f5cc80ba9fc7 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 18 Oct 2016 00:59:18 +0200 Subject: More debugging --- app/assets/javascripts/components/reducers/timelines.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/assets/javascripts/components/reducers') diff --git a/app/assets/javascripts/components/reducers/timelines.jsx b/app/assets/javascripts/components/reducers/timelines.jsx index 2059079eb..ba4ac921d 100644 --- a/app/assets/javascripts/components/reducers/timelines.jsx +++ b/app/assets/javascripts/components/reducers/timelines.jsx @@ -129,7 +129,7 @@ function updateTimeline(state, timeline, status) { if (reblogOfId !== null) { const otherReblogs = state.get('statuses').filter(item => item.get('reblog') === reblogOfId).map((_, itemId) => itemId); - list = list.filterNot(itemId => itemId === reblogOfId || otherReblogs.includes(itemId)); + list = list.filterNot(itemId => (itemId === reblogOfId || otherReblogs.includes(itemId))); } return list.unshift(status.get('id')); -- cgit