mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 16:45:35 +01:00
Fix NavButton text not showing and remove unused Sidebar.
Show NavButton text whenever sidebar is not collapsed, not only on pages without sub-navigation. Also remove unused Sidebar component. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
28c9c7d3ec
commit
18c3ffc2d8
2 changed files with 1 additions and 123 deletions
|
|
@ -85,7 +85,7 @@ export function SideNav(props: any) {
|
|||
</Row>
|
||||
</Row>
|
||||
<Row marginBottom="4">
|
||||
<NavButton showText={!hasNav && !isCollapsed} onAction={handleSelect} />
|
||||
<NavButton showText={!isCollapsed} onAction={handleSelect} />
|
||||
</Row>
|
||||
<Column gap="2">
|
||||
{links.map(({ id, path, label, icon }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue