mirror of
https://github.com/nkanaev/yarr.git
synced 2025-12-15 16:40:04 +00:00
logout
This commit is contained in:
@@ -509,6 +509,11 @@ var vm = new Vue({
|
||||
vm.refreshStats()
|
||||
})
|
||||
},
|
||||
logout: function() {
|
||||
api.logout().then(function() {
|
||||
document.location.reload()
|
||||
})
|
||||
},
|
||||
getReadable: function(item) {
|
||||
if (this.itemSelectedReadability) {
|
||||
this.itemSelectedReadability = null
|
||||
|
||||
Reference in New Issue
Block a user