|
|
@@ -30,8 +30,6 @@ export const SidebarContent = (props: {
|
|
|
onOpenSettings: () => void
|
|
|
helpLabel: Accessor<string>
|
|
|
onOpenHelp: () => void
|
|
|
- adminLabel: Accessor<string>
|
|
|
- onOpenAdmin: () => void
|
|
|
renderPanel: () => JSX.Element
|
|
|
}): JSX.Element => {
|
|
|
const expanded = createMemo(() => !!props.mobile || props.opened())
|
|
|
@@ -92,15 +90,6 @@ export const SidebarContent = (props: {
|
|
|
</DragDropProvider>
|
|
|
</div>
|
|
|
<div class="shrink-0 w-full pt-3 pb-6 flex flex-col items-center gap-2">
|
|
|
- <Tooltip placement={placement()} value={props.adminLabel()}>
|
|
|
- <IconButton
|
|
|
- icon="user"
|
|
|
- variant="ghost"
|
|
|
- size="large"
|
|
|
- onClick={props.onOpenAdmin}
|
|
|
- aria-label={props.adminLabel()}
|
|
|
- />
|
|
|
- </Tooltip>
|
|
|
<TooltipKeybind placement={placement()} title={props.settingsLabel()} keybind={props.settingsKeybind() ?? ""}>
|
|
|
<IconButton
|
|
|
icon="settings-gear"
|