Add loading indicator for notifications, make timelines indicate bottoming out when no more statuses
This commit is contained in:
parent
3cfbf0141f
commit
62e9525724
9 changed files with 53 additions and 10 deletions
|
@ -24,6 +24,7 @@ const fetchAndUpdate = ({store, credentials, older = false}) => {
|
|||
return apiService.fetchTimeline(args)
|
||||
.then((notifications) => {
|
||||
update({store, notifications, older})
|
||||
return notifications
|
||||
}, () => store.dispatch('setNotificationsError', { value: true }))
|
||||
.catch(() => store.dispatch('setNotificationsError', { value: true }))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue