1
0
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:
AkiraFukushima 2018-04-23 08:36:38 +09:00 committed by GitHub
commit 35b2f1ea52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
})
})