mirror of
				https://github.com/nkanaev/yarr.git
				synced 2025-10-30 14:33:31 +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 |       this.loading.newfeed = true | ||||||
|       api.feeds.create(data).then(function(result) { |       api.feeds.create(data).then(function(result) { | ||||||
|         if (result.status === 'success') { |         if (result.status === 'success') { | ||||||
|           api.feeds.list().then(function(feeds) { |           vm.refreshFeeds() | ||||||
|             vm.feeds = feeds |           vm.refreshStats() | ||||||
|           }) |  | ||||||
|           vm.$bvModal.hide('settings-modal') |           vm.$bvModal.hide('settings-modal') | ||||||
|         } else if (result.status === 'multiple') { |         } else if (result.status === 'multiple') { | ||||||
|           vm.feedNewChoice = result.choice |           vm.feedNewChoice = result.choice | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user