mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-05 05:42:39 +02:00
Moved the Documents sidebar item to the bottom, above the page count
This commit is contained in:
parent
6c5223e262
commit
ee60d72d2f
1 changed files with 6 additions and 6 deletions
|
|
@ -95,11 +95,6 @@ export function Sidebar({
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Platform navigation */}
|
|
||||||
{navItems.length > 0 && (
|
|
||||||
<NavSection items={navItems} onItemClick={onNavItemClick} isCollapsed={isCollapsed} />
|
|
||||||
)}
|
|
||||||
|
|
||||||
{/* New chat button */}
|
{/* New chat button */}
|
||||||
<div className="p-2">
|
<div className="p-2">
|
||||||
{isCollapsed ? (
|
{isCollapsed ? (
|
||||||
|
|
@ -231,7 +226,12 @@ export function Sidebar({
|
||||||
</ScrollArea>
|
</ScrollArea>
|
||||||
|
|
||||||
{/* Footer */}
|
{/* Footer */}
|
||||||
<div className="mt-auto">
|
<div className="mt-auto border-t">
|
||||||
|
{/* Platform navigation */}
|
||||||
|
{navItems.length > 0 && (
|
||||||
|
<NavSection items={navItems} onItemClick={onNavItemClick} isCollapsed={isCollapsed} />
|
||||||
|
)}
|
||||||
|
|
||||||
{pageUsage && !isCollapsed && (
|
{pageUsage && !isCollapsed && (
|
||||||
<PageUsageDisplay pagesUsed={pageUsage.pagesUsed} pagesLimit={pageUsage.pagesLimit} />
|
<PageUsageDisplay pagesUsed={pageUsage.pagesUsed} pagesLimit={pageUsage.pagesLimit} />
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue