mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
refresh stats after moving feed
This commit is contained in:
parent
068b4030f5
commit
81df244d41
@ -389,6 +389,7 @@ var vm = new Vue({
|
||||
var folder_id = folder ? folder.id : null
|
||||
api.feeds.update(feed.id, {folder_id: folder_id}).then(function() {
|
||||
feed.folder_id = folder_id
|
||||
vm.refreshStats()
|
||||
})
|
||||
},
|
||||
moveFeedToNewFolder: function(feed) {
|
||||
@ -396,7 +397,9 @@ var vm = new Vue({
|
||||
if (!title) return
|
||||
api.folders.create({'title': title}).then(function(folder) {
|
||||
api.feeds.update(feed.id, {folder_id: folder.id}).then(function() {
|
||||
vm.refreshFeeds()
|
||||
vm.refreshFeeds().then(function() {
|
||||
vm.refreshStats()
|
||||
})
|
||||
})
|
||||
})
|
||||
},
|
||||
|
@ -2,7 +2,6 @@
|
||||
https://tip.golang.org/pkg/embed/
|
||||
- add: enclosures (podcasts etc)
|
||||
https://github.com/shagr4th/yarr/commits/master
|
||||
- fix: moving newly added feed makes it disappear
|
||||
- fix: broken base link in https://applieddivinitystudies.com/
|
||||
- fix: migrate to cascade delete
|
||||
https://sqlite.org/foreignkeys.html#fk_actions
|
||||
|
Loading…
x
Reference in New Issue
Block a user