show feed errors
This commit is contained in:
parent
99684a4b2f
commit
d7ddcc04b5
6 changed files with 42 additions and 0 deletions
|
|
@ -43,6 +43,9 @@
|
|||
refresh: function() {
|
||||
return api('post', '/api/feeds/refresh')
|
||||
},
|
||||
list_errors: function() {
|
||||
return api('get', '/api/feeds/errors').then(json)
|
||||
},
|
||||
},
|
||||
folders: {
|
||||
list: function() {
|
||||
|
|
|
|||
|
|
@ -177,6 +177,7 @@ var vm = new Vue({
|
|||
},
|
||||
'refreshRate': undefined,
|
||||
'authenticated': authenticated(),
|
||||
'feed_errors': {},
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
@ -529,6 +530,12 @@ var vm = new Vue({
|
|||
showSettings: function(settings) {
|
||||
this.settings = settings
|
||||
this.$bvModal.show('settings-modal')
|
||||
|
||||
if (settings === 'manage') {
|
||||
api.feeds.list_errors().then(function(errors) {
|
||||
vm.feed_errors = errors
|
||||
})
|
||||
}
|
||||
},
|
||||
resizeFeedList: function(width) {
|
||||
this.feedListWidth = Math.min(Math.max(200, width), 700)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue