diff --git a/admin/inertia/components/chat/ChatSidebar.tsx b/admin/inertia/components/chat/ChatSidebar.tsx index f94dde0..281adee 100644 --- a/admin/inertia/components/chat/ChatSidebar.tsx +++ b/admin/inertia/components/chat/ChatSidebar.tsx @@ -71,47 +71,46 @@ export default function ChatSidebar({ )} - - {sessions.length > 0 && ( -
- Project Nomad Logo - { - if (isInModal) { - window.open('/chat', '_blank') - } else { - router.visit('/home') - } - }} - icon={isInModal ? 'IconExternalLink' : 'IconHome'} - variant="outline" - size="sm" - fullWidth - > - {isInModal ? 'Open in New Tab' : 'Back to Home'} - - { - router.visit('/settings/models') - }} - icon="IconDatabase" - variant="primary" - size="sm" - fullWidth - > - Models - - { - router.visit('/knowledge-base') - }} - icon="IconBrain" - variant="primary" - size="sm" - fullWidth - > - Knowledge Base - +
+ Project Nomad Logo + { + if (isInModal) { + window.open('/chat', '_blank') + } else { + router.visit('/home') + } + }} + icon={isInModal ? 'IconExternalLink' : 'IconHome'} + variant="outline" + size="sm" + fullWidth + > + {isInModal ? 'Open in New Tab' : 'Back to Home'} + + { + router.visit('/settings/models') + }} + icon="IconDatabase" + variant="primary" + size="sm" + fullWidth + > + Models + + { + router.visit('/knowledge-base') + }} + icon="IconBrain" + variant="primary" + size="sm" + fullWidth + > + Knowledge Base + + {sessions.length > 0 && ( Clear History -
- )} + )} +
) }