mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-09 13:34:33 +00:00
re-add "sign out" option to navbar profile menu
This commit is contained in:
parent
ab572a6ed6
commit
679ab04fb4
1 changed files with 5 additions and 0 deletions
|
@ -294,6 +294,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: 'ph-power ph-bold ph-lg',
|
||||||
|
text: i18n.ts.logout,
|
||||||
|
action: () => { signout(); },
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (opts.includeCurrentAccount) {
|
if (opts.includeCurrentAccount) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue