* fix: apply search filter to tools list view * tools table filtering * lint fix --------- Co-authored-by: Henry Heng <henryheng@flowiseai.com>
This commit is contained in:
parent
9dbb4bf623
commit
315e3aedc3
|
|
@ -245,7 +245,11 @@ const Tools = () => {
|
|||
))}
|
||||
</Box>
|
||||
) : (
|
||||
<ToolsTable data={getAllToolsApi.data.data} isLoading={isLoading} onSelect={edit} />
|
||||
<ToolsTable
|
||||
data={getAllToolsApi.data?.data?.filter(filterTools) || []}
|
||||
isLoading={isLoading}
|
||||
onSelect={edit}
|
||||
/>
|
||||
)}
|
||||
{/* Pagination and Page Size Controls */}
|
||||
<TablePagination currentPage={currentPage} limit={pageLimit} total={total} onChange={onChange} />
|
||||
|
|
|
|||
Loading…
Reference in New Issue