upd: Add logout button
This commit is contained in:
parent
b8a8e44905
commit
0b0947f7bf
1 changed files with 5 additions and 0 deletions
|
@ -300,6 +300,11 @@ export async function openAccountMenu(opts: {
|
||||||
icon: 'ti ti-users',
|
icon: 'ti ti-users',
|
||||||
text: i18n.ts.manageAccounts,
|
text: i18n.ts.manageAccounts,
|
||||||
to: '/settings/accounts',
|
to: '/settings/accounts',
|
||||||
|
}, {
|
||||||
|
type: 'button' as const,
|
||||||
|
icon: 'ti ti-power',
|
||||||
|
text: i18n.ts.logout,
|
||||||
|
action: () => { signout(); },
|
||||||
}]], ev.currentTarget ?? ev.target, {
|
}]], ev.currentTarget ?? ev.target, {
|
||||||
align: 'left',
|
align: 'left',
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue