This commit is contained in:
Nazar Kanaev
2021-02-12 10:31:00 +00:00
parent e8a002d535
commit 6a828532cb
4 changed files with 23 additions and 0 deletions

View File

@@ -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