re-add "sign out" option to navbar profile menu

This commit is contained in:
dakkar 2025-04-15 11:22:22 +01:00
parent ab572a6ed6
commit 679ab04fb4

View file

@ -294,6 +294,11 @@ export async function openAccountMenu(opts: {
icon: 'ti ti-users',
text: i18n.ts.manageAccounts,
to: '/settings/accounts',
}, {
type: 'button' as const,
icon: 'ph-power ph-bold ph-lg',
text: i18n.ts.logout,
action: () => { signout(); },
});
} else {
if (opts.includeCurrentAccount) {