mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-01-31 01:27:26 +01:00
Merge pull request #266 from h3poteto/fix/home-timeline/lazyFetch
fix: Insert error of timeline when lazy loading
This commit is contained in:
commit
35b2f1ea52
@ -89,7 +89,7 @@ const Home = {
|
||||
})
|
||||
client.get('/timelines/home', { max_id: last.id, limit: 40 }, (err, data, res) => {
|
||||
if (err) return reject(err)
|
||||
commit('insertTimeline')
|
||||
commit('insertTimeline', data)
|
||||
commit('changeLazyLoading', false)
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user