🔍 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:
Daniel Lew 2026-04-03 11:24:59 -05:00 committed by GitHub
parent ea28dbfa89
commit 936936596b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -120,7 +120,7 @@ const ConversationsSection = memo(() => {
<BookmarkNav tags={tags} setTags={setTags} />
</Suspense>
)}
<SearchBar isSmallScreen={isSmallScreen} />
{search.enabled && <SearchBar isSmallScreen={isSmallScreen} />}
</div>
{isSmallScreen && (
<div