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