mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 18:00:05 +00:00
refresh stats after adding a feed
This commit is contained in:
@@ -417,9 +417,8 @@ var vm = new Vue({
|
||||
this.loading.newfeed = true
|
||||
api.feeds.create(data).then(function(result) {
|
||||
if (result.status === 'success') {
|
||||
api.feeds.list().then(function(feeds) {
|
||||
vm.feeds = feeds
|
||||
})
|
||||
vm.refreshFeeds()
|
||||
vm.refreshStats()
|
||||
vm.$bvModal.hide('settings-modal')
|
||||
} else if (result.status === 'multiple') {
|
||||
vm.feedNewChoice = result.choice
|
||||
|
Reference in New Issue
Block a user