Skip to content

Commit

Permalink
Fix: User can't be updated
Browse files Browse the repository at this point in the history
Signed-off-by: barnettZQG <[email protected]>
  • Loading branch information
barnettZQG committed Apr 28, 2023
1 parent 7bc6b2f commit 5917812
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class CreateUser extends React.Component<Props, State> {
</Col>
</Row>
<Row>
<If condition={!isEditUser}>
{!isEditUser && (
<Col span={12} style={{ padding: '0 8px' }}>
<FormItem label={<Translation>Password</Translation>} required>
<Input
Expand All @@ -220,7 +220,7 @@ class CreateUser extends React.Component<Props, State> {
/>
</FormItem>
</Col>
</If>
)}
<Col span={12} style={{ padding: '0 8px' }}>
<FormItem label={<Translation>Email</Translation>} required>
<Input
Expand Down

0 comments on commit 5917812

Please sign in to comment.