You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by js...@apache.org on 2024/08/07 06:10:57 UTC
(gravitino) branch main updated: [#4384] fix(UI): Replace to password input for all jdbc-password value (#4394)
This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new d6a0c9515 [#4384] fix(UI): Replace to password input for all jdbc-password value (#4394)
d6a0c9515 is described below
commit d6a0c95156632947c580f12070c65fe2f900df53
Author: Liang Chun <ga...@gmail.com>
AuthorDate: Wed Aug 7 14:10:53 2024 +0800
[#4384] fix(UI): Replace to password input for all jdbc-password value (#4394)
### What changes were proposed in this pull request?
Set the type of related input field to "password"
### Why are the changes needed?
Fix: #4384
### Does this PR introduce _any_ user-facing change?
catalog password input UI was changed
### How was this patch tested?

---
web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js b/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js
index 6c37eefe1..86e7e3b07 100644
--- a/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js
+++ b/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js
@@ -595,6 +595,7 @@ const CreateCatalogDialog = props => {
onChange={event => handleFormChange({ index, event })}
data-refer={`props-value-${index}`}
data-prev-refer={`props-${item.key}`}
+ type={item.key === 'jdbc-password' ? 'password' : 'text'}
/>
)}
</Box>