Skip to content

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

[#1427] improve(UI): Improve the order of Gravitino nullability and type columns (#1583)

hiirrxnn820d45e9927d
diff --git a/web/app/metalakes/TableView.js b/web/app/metalakes/TableView.js
index 04dbd7e665..eb1a9838b4 100644
--- a/web/app/metalakes/TableView.js
+++ b/web/app/metalakes/TableView.js
@@ -83,6 +83,21 @@ const TableView = props => {
)
}
},
+ {
+ flex: 0.1,
+ minWidth: 60,
+ field: 'type',
+ headerName: 'Type',
+ renderCell: ({ row }) => {
+ const { type } = row
+
+ return (
+ <Box sx={{ display: 'flex', alignItems: 'center' }}>
+ <ColumnTypeChip type={type} />
+ </Box>
+ )
+ }
+ },
{
flex: 0.1,
minWidth: 60,
@@ -107,21 +122,6 @@ const TableView = props => {
</Box>
)
}
- },
- {
- flex: 0.1,
- minWidth: 60,
- field: 'type',
- headerName: 'Type',
- renderCell: ({ row }) => {
- const { type } = row
-
- return (
- <Box sx={{ display: 'flex', alignItems: 'center' }}>
- <ColumnTypeChip type={type} />
- </Box>
- )
- }
}
]