Skip to content

Commit 315e3ae

Browse files
fix: apply search filter to tools list view (#5469) (#5487)
* fix: apply search filter to tools list view * tools table filtering * lint fix --------- Co-authored-by: Henry Heng <[email protected]>
1 parent 9dbb4bf commit 315e3ae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/ui/src/views/tools/index.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,11 @@ const Tools = () => {
245245
))}
246246
</Box>
247247
) : (
248-
<ToolsTable data={getAllToolsApi.data.data} isLoading={isLoading} onSelect={edit} />
248+
<ToolsTable
249+
data={getAllToolsApi.data?.data?.filter(filterTools) || []}
250+
isLoading={isLoading}
251+
onSelect={edit}
252+
/>
249253
)}
250254
{/* Pagination and Page Size Controls */}
251255
<TablePagination currentPage={currentPage} limit={pageLimit} total={total} onChange={onChange} />

0 commit comments

Comments
 (0)