From c779b92bd0ca0be3d2a0984ecd035d9bf2ea5d92 Mon Sep 17 00:00:00 2001 From: Lucas Phan Date: Mon, 2 Oct 2023 11:58:58 -0700 Subject: [PATCH] fix(data-product): show data product card on home page (#8924) --- .../src/app/entity/dataProduct/DataProductEntity.tsx | 2 +- datahub-web-react/src/app/home/HomePageRecommendations.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/datahub-web-react/src/app/entity/dataProduct/DataProductEntity.tsx b/datahub-web-react/src/app/entity/dataProduct/DataProductEntity.tsx index c3f1273681..620d42943a 100644 --- a/datahub-web-react/src/app/entity/dataProduct/DataProductEntity.tsx +++ b/datahub-web-react/src/app/entity/dataProduct/DataProductEntity.tsx @@ -51,7 +51,7 @@ export class DataProductEntity implements Entity { isSearchEnabled = () => true; - isBrowseEnabled = () => false; + isBrowseEnabled = () => true; isLineageEnabled = () => false; diff --git a/datahub-web-react/src/app/home/HomePageRecommendations.tsx b/datahub-web-react/src/app/home/HomePageRecommendations.tsx index 39d76bf98f..6ce7735c4a 100644 --- a/datahub-web-react/src/app/home/HomePageRecommendations.tsx +++ b/datahub-web-react/src/app/home/HomePageRecommendations.tsx @@ -95,6 +95,7 @@ const simpleViewEntityTypes = [ EntityType.Dashboard, EntityType.GlossaryNode, EntityType.GlossaryTerm, + EntityType.DataProduct, ]; export const HomePageRecommendations = ({ user }: Props) => {