From 7a55851c565a345dfafef59ef5587e09a47315fb Mon Sep 17 00:00:00 2001 From: darth-coder00 <86726556+darth-coder00@users.noreply.github.com> Date: Sun, 24 Apr 2022 23:43:49 +0530 Subject: [PATCH] Revert "UI :Add meta information in explore entity cards (#4432)" (#4445) This reverts commit eb26a720838a95ddf7de096486951cf228aa0369. --- .../common/table-data-card/TableDataCard.tsx | 28 +------------------ 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/table-data-card/TableDataCard.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/table-data-card/TableDataCard.tsx index 1b343f12ad4..632c7f998e2 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/table-data-card/TableDataCard.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/table-data-card/TableDataCard.tsx @@ -25,7 +25,6 @@ import { CurrentTourPageType } from '../../../enums/tour.enum'; import { TableType } from '../../../generated/entity/data/table'; import { TagLabel } from '../../../generated/type/tagLabel'; import { serviceTypeLogo } from '../../../utils/ServiceUtils'; -import { stringToHTML } from '../../../utils/StringsUtils'; import { getEntityLink, getUsagePercentile } from '../../../utils/TableUtils'; import TableDataCardBody from './TableDataCardBody'; @@ -64,10 +63,6 @@ const TableDataCard: FunctionComponent = ({ matches, tableType, deleted = false, - service, - database, - databaseSchema, - name, }: Props) => { const location = useLocation(); const history = useHistory(); @@ -99,28 +94,7 @@ const TableDataCard: FunctionComponent = ({ showLabel: true, }); } - if (service) { - OtherDetails.push({ - key: 'Service', - value: service, - showLabel: true, - }); - } - if (database) { - OtherDetails.push({ - key: 'Database', - value: database, - showLabel: true, - }); - } - if (databaseSchema) { - OtherDetails.push({ - key: 'Schema', - value: databaseSchema, - showLabel: true, - }); - } const getAssetTags = () => { const assetTags = [...(tags as Array)]; if (tier && !isUndefined(tier)) { @@ -156,7 +130,7 @@ const TableDataCard: FunctionComponent = ({ data-testid="table-link" id={`${id}Title`} onClick={handleLinkClick}> - {stringToHTML(name)} + {fullyQualifiedName} {deleted && (