fix refresh sync
This commit is contained in:
parent
eb9bfc57e2
commit
214c7aacfc
2 changed files with 22 additions and 21 deletions
|
|
@ -633,10 +633,7 @@ var vm = new Vue({
|
|||
fetchAllFeeds: function() {
|
||||
if (this.loading.feeds) return
|
||||
api.feeds.refresh().then(function() {
|
||||
// TODO: this is hacky. come up with something decent
|
||||
setTimeout(function() {
|
||||
vm.refreshStats()
|
||||
}, 1000)
|
||||
vm.refreshStats()
|
||||
})
|
||||
},
|
||||
computeStats: function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue