mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-03-28 03:29:25 +01:00
fix(Chat): sidebar display
This commit is contained in:
parent
31c671bdb5
commit
029c2176f7
|
|
@ -71,8 +71,6 @@ export default function ChatSidebar({
|
|||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{sessions.length > 0 && (
|
||||
<div className="p-4 flex flex-col items-center justify-center gap-y-2">
|
||||
<img src="/project_nomad_logo.png" alt="Project Nomad Logo" className="h-28 w-28 mb-6" />
|
||||
<StyledButton
|
||||
|
|
@ -112,6 +110,7 @@ export default function ChatSidebar({
|
|||
>
|
||||
Knowledge Base
|
||||
</StyledButton>
|
||||
{sessions.length > 0 && (
|
||||
<StyledButton
|
||||
onClick={onClearHistory}
|
||||
icon="IconTrash"
|
||||
|
|
@ -121,8 +120,8 @@ export default function ChatSidebar({
|
|||
>
|
||||
Clear History
|
||||
</StyledButton>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user