mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 18:00:05 +00:00
import opml
This commit is contained in:
@@ -241,10 +241,12 @@ var vm = new Vue({
|
||||
api.items.update(item.id, {status: item.status})
|
||||
},
|
||||
importOPML: function(event) {
|
||||
var vm = this
|
||||
var input = event.target
|
||||
var form = document.querySelector('#opml-import-form')
|
||||
api.upload_opml(form).then(function() {
|
||||
input.value = ''
|
||||
vm.refreshFeeds()
|
||||
})
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user