mirror of
https://github.com/wassname/talk.git
synced 2026-07-14 11:18:50 +08:00
if username changed, reject username should be disabled
This commit is contained in:
@@ -230,7 +230,7 @@ class UserDetail extends React.Component {
|
||||
) : (
|
||||
<ActionsMenuItem
|
||||
onClick={this.showRejectUsernameDialog}
|
||||
disabled={me.id === user.id}
|
||||
disabled={me.id === user.id || usernameChanged}
|
||||
>
|
||||
{t('user_detail.reject_username')}
|
||||
</ActionsMenuItem>
|
||||
|
||||
Reference in New Issue
Block a user