Fix #238 - Add "favourites" column

This commit is contained in:
Eugen Rochko committed 2017-01-16 13:28:25 +01:00
1 parent da5d366230
commit 7d53ee73f3
15 files changed
+297 -63

No files matched your search

@@ -97,6 +97,11 @@ export function expandTimeline(timeline, id = null) {
return (dispatch, getState) => {
const lastId = getState().getIn(['timelines', timeline, 'items'], Immutable.List()).last();
if (!lastId) {
// If timeline is empty, don't try to load older posts since there are none
return;
}
dispatch(expandTimelineRequest(timeline));
let path = timeline;