mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
added logout handler
This commit is contained in:
parent
cdc9665c8d
commit
acd9955dec
@ -28,6 +28,9 @@ const onClickHandlers = {
|
||||
},
|
||||
login: () => {
|
||||
window.app.navigation.goAuth()
|
||||
},
|
||||
logout: () => {
|
||||
app.eventBus.emit("app.logout_request")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user