Skip to content

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

[#7290] improvement(web): immutable location- property for fileset catalog (#8175)

Qian Xiaeb0b464ce34b
diff --git a/web/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js b/web/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js
index 377381d05a..b77caf9fc5 100644
--- a/web/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js
+++ b/web/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js
@@ -435,7 +435,8 @@ const CreateCatalogDialog = props => {
if (findPropIndex === -1) {
let propItem = {
key: item,
- value: properties[item]
+ value: properties[item],
+ disabled: type === 'update' && item.startsWith('location-') && data.provider === 'fileset'
}
propsItems.push(propItem)
}