This is an automated email from the ASF dual-hosted git repository.
yuqi1129 pushed a commit to branch branch-1.3
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-1.3 by this push:
new 73a906ad9c [Cherry-pick to branch-1.3] [#11623] web-v2(UI):Hide
catalog properties not present in API response during edit mode (#11675)
(#11683)
73a906ad9c is described below
commit 73a906ad9c239c6d359d78cd1307cbb0cece898e
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 16 20:06:22 2026 +0800
[Cherry-pick to branch-1.3] [#11623] web-v2(UI):Hide catalog properties not
present in API response during edit mode (#11675) (#11683)
**Cherry-pick Information:**
- Original commit: 8c14068cec209db4095223a7aa1771dd980f0d40
- Target branch: `branch-1.3`
- Status: ✅ Clean cherry-pick (no conflicts)
Co-authored-by: Qian Xia <[email protected]>
---
web-v2/web/src/app/catalogs/rightContent/CreateCatalogDialog.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/web-v2/web/src/app/catalogs/rightContent/CreateCatalogDialog.js
b/web-v2/web/src/app/catalogs/rightContent/CreateCatalogDialog.js
index e50a93ae01..92dfeb5dfe 100644
--- a/web-v2/web/src/app/catalogs/rightContent/CreateCatalogDialog.js
+++ b/web-v2/web/src/app/catalogs/rightContent/CreateCatalogDialog.js
@@ -115,6 +115,11 @@ export default function CreateCatalogDialog({ ...props }) {
const isHidden = prop => {
const { parentField, hide, key } = prop
+
+ // In edit mode, hide props not present in the loaded catalog response
+ if (editCatalog && cacheData?.properties && !(key in
cacheData.properties)) {
+ return true
+ }
switch (parentField) {
case 'catalog-backend':
return catalogBackend && hide && hide.includes(catalogBackend)