mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-04-05 15:27:20 +02:00
🔍 fix: only show Searchbar if enabled (#12424)
The search bar was showing even if you have no search capability; now it respects the `enabled` field.
This commit is contained in:
parent
ea28dbfa89
commit
936936596b
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ const ConversationsSection = memo(() => {
|
|||
<BookmarkNav tags={tags} setTags={setTags} />
|
||||
</Suspense>
|
||||
)}
|
||||
<SearchBar isSmallScreen={isSmallScreen} />
|
||||
{search.enabled && <SearchBar isSmallScreen={isSmallScreen} />}
|
||||
</div>
|
||||
{isSmallScreen && (
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue