logout
This commit is contained in:
parent
e8a002d535
commit
6a828532cb
4 changed files with 23 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue