This is an automated email from the ASF dual-hosted git repository. ppawar pushed a commit to branch atlas-2.5 in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/atlas-2.5 by this push: new b08e57720 ATLAS-5083 : (React UI)Wrong parameter is added in the API request body, when the entity detail page is refreshed after selecting Table tab. (#415) b08e57720 is described below commit b08e57720af43755833b6a69e58fddd7b96b6777 Author: farhank31 <111185778+farhan...@users.noreply.github.com> AuthorDate: Tue Jul 29 11:53:45 2025 +0530 ATLAS-5083 : (React UI)Wrong parameter is added in the API request body, when the entity detail page is refreshed after selecting Table tab. (#415) Co-authored-by: Farhan Khan <farhan.k...@freestoninfotech.com> --- dashboard/src/views/DetailPage/EntityDetailTabs/ProfileTab.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dashboard/src/views/DetailPage/EntityDetailTabs/ProfileTab.tsx b/dashboard/src/views/DetailPage/EntityDetailTabs/ProfileTab.tsx index 0cb074c06..81b8d001d 100644 --- a/dashboard/src/views/DetailPage/EntityDetailTabs/ProfileTab.tsx +++ b/dashboard/src/views/DetailPage/EntityDetailTabs/ProfileTab.tsx @@ -84,6 +84,9 @@ const ProfileTab: React.FC<EntityDetailTabProps> = ({ entity }) => { pagination?: any; sorting: [{ id: string; desc: boolean }]; }) => { + if (!entity?.typeName) { + return; + } const { pageSize, pageIndex } = pagination || {}; if (pageIndex > 1) { searchParams.set("pageOffset", `${pageSize * pageIndex}`); @@ -126,7 +129,7 @@ const ProfileTab: React.FC<EntityDetailTabProps> = ({ entity }) => { dispatch({ type: "failure", error }); } }, - [searchParams] + [searchParams, entity] ); const handleSwitchChangeEntities = ( @@ -273,7 +276,7 @@ const ProfileTab: React.FC<EntityDetailTabProps> = ({ entity }) => { justifyContent="right" alignItems="center" marginBottom="0.75rem" - position="absolute" + position="relative" right={0} > <FormGroup>