diff --git a/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js b/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js index 25bb5108df6..f3005fcd4f5 100644 --- a/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js +++ b/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js @@ -386,7 +386,8 @@ const CreateCatalogDialog = props => { if (findPropIndex === -1) { let propItem = { key: item, - value: properties[item] + value: properties[item], + disabled: data.type === 'fileset' && item === 'location' && type === 'update' } propsItems.push(propItem) } @@ -552,7 +553,7 @@ const CreateCatalogDialog = props => { name='key' label='Key' value={item.key} - disabled={item.required} + disabled={item.required || item.disabled} onChange={event => handleFormChange({ index, event })} error={item.hasDuplicateKey} data-refer={`props-key-${index}`} @@ -591,7 +592,7 @@ const CreateCatalogDialog = props => { )} - {!item.required ? ( + {!(item.required || item.disabled) ? ( removeFields(index)}>