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