diff --git a/template/static/javascripts/app.js b/template/static/javascripts/app.js index 5d158a8..c5766e7 100644 --- a/template/static/javascripts/app.js +++ b/template/static/javascripts/app.js @@ -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