{#if showMenu && menuButtonEl}
openSettings('account')
}
]
: []),
...($session ? [{ divider: true, label: '', onclick: () => {} }] : []),
{
label: $t('sidebar.settings'),
icon: 'settings',
shortcut: formatChord($keybindings.openSettings),
onclick: () => openSettings()
},
{
label: $t('system.infoTitle'),
icon: 'info',
onclick: openSystemInfo
},
{ divider: true, label: '', onclick: () => {} },
{ label: $t('sidebar.logOut'), icon: 'log-out', onclick: clearSession }
]}
onclose={() => (showMenu = false)}
/>
{/if}