Skip to content

Commit

Permalink
Removed conditional statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
yanevdw19021209 committed Oct 17, 2023
1 parent 1ff0e83 commit fe6b513
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/infosafe_frontend/src/components/Subsystems/Users.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ export const Users = () => {
)}
</p>
<EditUserDiv user={user}/>
{user.role.role_name !== "ADMIN" ? (
<DeleteUser user={user}></DeleteUser>
) : null}

<DeleteUser user={user}></DeleteUser>

</li>
);
} else {
Expand Down

0 comments on commit fe6b513

Please sign in to comment.