Skip to content

Commit b388e15

Browse files
shrabantipaul-collateShrabanti Paul
authored andcommitted
fix page crash for data products with 0 domains (#27230)
Co-authored-by: Shrabanti Paul <shrabantipaul@Shrabantis-MacBook-Pro.local>
1 parent 87e0c31 commit b388e15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openmetadata-ui/src/main/resources/ui/src/utils/EntityUtils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2385,7 +2385,7 @@ export const getEntityBreadcrumbs = (
23852385

23862386
case EntityType.DATA_PRODUCT: {
23872387
const data = entity as DataProduct;
2388-
if (!data.domains) {
2388+
if (!data.domains?.length) {
23892389
return [];
23902390
}
23912391

0 commit comments

Comments
 (0)