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 b72f4d7f1 React UI: Entity Detail Page fails to load after refresh.
(#410)
b72f4d7f1 is described below
commit b72f4d7f177a2071ba0400f205d6dc68b4ccb3ae
Author: farhank31 <[email protected]>
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 <[email protected]>
---
.../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" />
</>