fix(table): conditionally render search dropdown only when search input is enabled (#35204)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
marun
2026-04-30 23:08:01 +08:00
committed by GitHub
parent 4fcb3144ff
commit 12f69760f9

View File

@@ -580,7 +580,7 @@ export default typedMemo(function DataTable<D extends object>({
/>
) : null}
<Flex wrap align="center" gap="middle">
{serverPagination && (
{serverPagination && searchInput && (
<Space size="small" className="search-select-container">
<span className="search-by-label">{t('Search by')}:</span>
<SearchSelectDropdown