mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-02 16:48:50 +01:00
✨ feat: Update DataTable component to streamline props and enhance sorting icons
This commit is contained in:
parent
cf2d35fd32
commit
780e6a4766
2 changed files with 54 additions and 40 deletions
|
|
@ -287,15 +287,15 @@ export default function ArchivedChatsTable() {
|
|||
<DataTable
|
||||
columns={columns}
|
||||
data={allConversations}
|
||||
isLoading={isLoading}
|
||||
enableSearch={!!isSearchEnabled}
|
||||
filterColumn="title"
|
||||
onFilterChange={onFilterChange}
|
||||
filterValue={searchInput}
|
||||
fetchNextPage={handleFetchNextPage}
|
||||
hasNextPage={hasNextPage}
|
||||
isFetchingNextPage={isFetchingNextPage}
|
||||
isLoading={isLoading}
|
||||
showCheckboxes={false}
|
||||
enableSearch={!!isSearchEnabled}
|
||||
onSortChange={handleSort}
|
||||
sortBy={sortBy}
|
||||
sortDirection={sortDirection}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue