Skip to content
Snippets Groups Projects
Verified Commit 0b0947f7 authored by Mar0xy's avatar Mar0xy
Browse files

upd: Add logout button

parent b8a8e449
No related branches found
No related tags found
No related merge requests found
......@@ -300,6 +300,11 @@ export async function openAccountMenu(opts: {
icon: 'ti ti-users',
text: i18n.ts.manageAccounts,
to: '/settings/accounts',
}, {
type: 'button' as const,
icon: 'ti ti-power',
text: i18n.ts.logout,
action: () => { signout(); },
}]], ev.currentTarget ?? ev.target, {
align: 'left',
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment