Fix #238 - Add "favourites" column
This commit is contained in:
parent
da5d366230
commit
7d53ee73f3
15 changed files with 297 additions and 63 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue