mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
refresh stats after adding a feed
This commit is contained in:
parent
a2c8e30e79
commit
f4d05e0ea1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user