This is an automated email from the ASF dual-hosted git repository.
jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris-manager.git
The following commit(s) were added to refs/heads/master by this push:
new 5cbd4fd [fix]Disable the button to reset the current user password in
the User admin list (#38)
5cbd4fd is described below
commit 5cbd4fd54f9fd91a7e24149abfa50e1176433bdd
Author: wangyongfeng <[email protected]>
AuthorDate: Fri Apr 8 16:01:38 2022 +0800
[fix]Disable the button to reset the current user password in the User
admin list (#38)
Disable the button to reset the current user password in the User admin list
---
frontend/src/routes/settings/user/list/list.tsx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/frontend/src/routes/settings/user/list/list.tsx
b/frontend/src/routes/settings/user/list/list.tsx
index e41d49a..ba5300e 100644
--- a/frontend/src/routes/settings/user/list/list.tsx
+++ b/frontend/src/routes/settings/user/list/list.tsx
@@ -106,7 +106,10 @@ export function UserList() {
{t`edit`}
</FlatBtn>
- <FlatBtn onClick={() =>
handleResetPassword(record)}>{t`resetPassword`}</FlatBtn>
+ <FlatBtn
+ onClick={() => handleResetPassword(record)}
+ disabled={disabled}
+ >{t`resetPassword`}</FlatBtn>
<FlatBtn onClick={() => toggleActivate(record)}
disabled={disabled}>
{record.is_active ? t`deactivateUser` :
t`activateUser`}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]