From 6484401eef28df9f923ade3ec2ebf3e3f289d1e3 Mon Sep 17 00:00:00 2001 From: Pranita Fulsundar Date: Wed, 16 Apr 2025 16:30:08 +0530 Subject: [PATCH] fix: pagination for apiEndpoints table (#20859) --- .../ui/src/pages/APICollectionPage/APIEndpointsTab.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/APICollectionPage/APIEndpointsTab.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/APICollectionPage/APIEndpointsTab.tsx index 9d1d6c652c0..ec554c04683 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/APICollectionPage/APIEndpointsTab.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/APICollectionPage/APIEndpointsTab.tsx @@ -167,8 +167,8 @@ function APIEndpointsTab({ ); useEffect(() => { - getAPICollectionEndpoints(); - }, [apiCollection]); + getAPICollectionEndpoints({ paging: { limit: pageSize } }); + }, [apiCollection, pageSize]); return (