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 <[email protected]>
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?
    ![Screenshot from 2024-08-06
    
17-17-30](https://github.com/user-attachments/assets/8ee07916-807e-430a-b805-f665b8f71570)
---
 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>

Reply via email to