fix empty timeline bug
This commit is contained in:
parent
736c1ffb8e
commit
7fc0765dc9
1 changed files with 2 additions and 1 deletions
|
|
@ -52,7 +52,8 @@ const fetchAndUpdate = ({
|
|||
const loggedIn = !!rootState.users.currentUser
|
||||
|
||||
if (older) {
|
||||
args.maxId = maxId || timelineData.minId
|
||||
// When minId = 0 we need to fetch without maxId param
|
||||
args.maxId = maxId || timelineData.minId || null
|
||||
} else {
|
||||
if (sinceId === undefined) {
|
||||
args.sinceId = timelineData.maxId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue