re-add "sign out" option to navbar profile menu
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user