mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 18:00:05 +00:00
refresh feeds
This commit is contained in:
@@ -37,6 +37,9 @@
|
||||
list_items: function(id) {
|
||||
return api('get', '/api/feeds/' + id + '/items').then(json)
|
||||
},
|
||||
refresh: function() {
|
||||
return api('post', '/api/feeds/refresh')
|
||||
},
|
||||
},
|
||||
folders: {
|
||||
list: function() {
|
||||
|
@@ -497,6 +497,9 @@ var vm = new Vue({
|
||||
incrFont: function(x) {
|
||||
console.log(x, this.settings.size)
|
||||
this.settings.size = +(this.settings.size + (0.1 * x)).toFixed(1)
|
||||
}
|
||||
},
|
||||
fetchAllFeeds: function() {
|
||||
api.feeds.refresh()
|
||||
},
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user