This is an automated email from the ASF dual-hosted git repository.

ppawar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new 14073c4e7 React UI: Entity Detail Page fails to load after refresh. 
(#410)
14073c4e7 is described below

commit 14073c4e79395e3d20138f8b6a8b0e226751841b
Author: farhank31 <111185778+farhan...@users.noreply.github.com>
AuthorDate: Thu Jul 24 12:38:01 2025 +0530

    React UI: Entity Detail Page fails to load after refresh. (#410)
    
    Co-authored-by: Farhan Khan <farhan.k...@freestoninfotech.com>
---
 .../src/views/DetailPage/EntityDetailTabs/AttributeProperties.tsx     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dashboard/src/views/DetailPage/EntityDetailTabs/AttributeProperties.tsx 
b/dashboard/src/views/DetailPage/EntityDetailTabs/AttributeProperties.tsx
index 9780a79da..406e4305c 100644
--- a/dashboard/src/views/DetailPage/EntityDetailTabs/AttributeProperties.tsx
+++ b/dashboard/src/views/DetailPage/EntityDetailTabs/AttributeProperties.tsx
@@ -108,7 +108,7 @@ const AttributeProperties = ({
   }
   let nonEmptyValueProperty: { [key: string]: string } = {};
 
-  if (!isEmpty(properties) && !auditDetails) {
+  if (!isEmpty(properties) && !auditDetails && !isEmpty(entityDefs)) {
     let activeTypeDef = entityDefs.find((obj: { name: any }) => {
       return obj.name == entity.typeName;
     });
@@ -213,7 +213,7 @@ const AttributeProperties = ({
           </Stack>
         </AccordionSummary>
         <AccordionDetails>
-          {loading == undefined || loading ? (
+          {loading == undefined || loading || isEmpty(entityData) ? (
             <>
               <SkeletonLoader count={3} animation="wave" />
             </>

Reply via email to