Skip to content

Commit

Permalink
fix: #OBS-I494: updated for add user and failed scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakshitha-D committed Jan 10, 2025
1 parent 6f3edb3 commit 1300a34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web-console-v2/src/pages/UserManagement/AddUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const AddUser: React.FC<AddUserProps> = ({ open, onClose, onSubmit, currentUser
const availableRoles = currentUser?.is_owner ? rolesOptions : rolesOptions.filter(role => role.value !== 'admin');

const handleCancel = () => {
setError(null);
resetForm();
onClose();
};
Expand Down

0 comments on commit 1300a34

Please sign in to comment.