diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Explore/EntitySummaryPanel/TableSummary/TableSummary.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Explore/EntitySummaryPanel/TableSummary/TableSummary.component.tsx index 22bdef4a3ef..ea0a07208fb 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Explore/EntitySummaryPanel/TableSummary/TableSummary.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Explore/EntitySummaryPanel/TableSummary/TableSummary.component.tsx @@ -53,6 +53,8 @@ function TableSummary({ entityDetails }: TableSummaryProps) { results: INITIAL_TEST_RESULT_SUMMARY, }); + const isTableDeleted = useMemo(() => entityDetails.deleted, [entityDetails]); + const fetchAllTests = async () => { try { const { data } = await getListTestCase({ @@ -174,7 +176,7 @@ function TableSummary({ entityDetails }: TableSummaryProps) { if (!isEmpty(entityDetails)) { setTableDetails(entityDetails); fetchAllTests(); - fetchProfilerData(); + !isTableDeleted && fetchProfilerData(); } }, [entityDetails]);