added logout handler

This commit is contained in:
SrGooglo 2023-06-23 21:43:00 +00:00
parent cdc9665c8d
commit acd9955dec

View File

@ -28,6 +28,9 @@ const onClickHandlers = {
}, },
login: () => { login: () => {
window.app.navigation.goAuth() window.app.navigation.goAuth()
},
logout: () => {
app.eventBus.emit("app.logout_request")
} }
} }