Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#1649] fix(web): modified the display of the type field in the table (#1654)

CHEYNEa77803821f8e
diff --git a/web/components/ColumnTypeChip.js b/web/components/ColumnTypeChip.js
index 04f5b42eb3..d67a99a0fe 100644
--- a/web/components/ColumnTypeChip.js
+++ b/web/components/ColumnTypeChip.js
@@ -14,7 +14,7 @@ const ColumnTypeChip = props => {
const formatType = type && isString(type) ? type.replace(/\(.*\)/, '') : type
- const label = isString(type) ? type : `${type?.type}<${type?.elementType ?? 'unknown'}>` ?? 'unknown'
+ const label = isString(type) ? type : `${type?.type}`
const columnTypeColor = ColumnTypeColorEnum[formatType] || 'secondary'
const color = colors[columnTypeColor]?.main || '#8592A3'