diff --git a/openmetadata-ui/src/main/resources/ui/src/components/DatasetDetails/DatasetDetails.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/DatasetDetails/DatasetDetails.component.tsx index 69795d92168..7b1e2e6f944 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/DatasetDetails/DatasetDetails.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/DatasetDetails/DatasetDetails.component.tsx @@ -11,7 +11,7 @@ * limitations under the License. */ -import { isEqual, isNil } from 'lodash'; +import { isEqual, isNil, isUndefined } from 'lodash'; import { ColumnJoins, EntityTags } from 'Models'; import React, { useEffect, useState } from 'react'; import { getTeamDetailsPath } from '../../constants/constants'; @@ -216,26 +216,27 @@ const DatasetDetails: React.FC = ({ }, { key: 'Rows', - value: tableProfile ? ( - ({ - date: d.profileDate, - value: d.rowCount ?? 0, - })) - .reverse() as Array<{ - date: Date; - value: number; - }> - } - height={38} - toolTipPos={{ x: 20, y: -30 }} - /> - ) : ( - '--' - ), + value: + !isUndefined(tableProfile) && tableProfile.length > 0 ? ( + ({ + date: d.profileDate, + value: d.rowCount ?? 0, + })) + .reverse() as Array<{ + date: Date; + value: number; + }> + } + height={38} + toolTipPos={{ x: 20, y: -30 }} + /> + ) : ( + '--' + ), }, ]; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/entityPageInfo/EntityPageInfo.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/entityPageInfo/EntityPageInfo.tsx index a7b55f38fa9..be3613fc906 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/entityPageInfo/EntityPageInfo.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/entityPageInfo/EntityPageInfo.tsx @@ -334,12 +334,13 @@ const EntityPageInfo = ({ html={ <> {tags.slice(LIST_SIZE).map((tag, index) => ( - +

+ +

))} } diff --git a/openmetadata-ui/src/main/resources/ui/src/components/tags/tags.tsx b/openmetadata-ui/src/main/resources/ui/src/components/tags/tags.tsx index 52cdcb8161f..491d1b2c8ce 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/tags/tags.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/tags/tags.tsx @@ -75,10 +75,7 @@ const Tags: FunctionComponent = ({
{tag.description && (
- +
)}

Set as {tag.labelType}