Skip to content

Commit

Permalink
Merge pull request #1276 from akto-api-security/hotfix/fix_typo_in_users
Browse files Browse the repository at this point in the history
Fixing typo in screen
  • Loading branch information
ayushaga14 authored Jul 13, 2024
2 parents 2f0be76 + 15bed29 commit 20ad5e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Users = () => {

const getRoleHierarchy = async() => {
let roleHierarchyResp = await settingRequests.getRoleHierarchy(window.USER_ROLE)
if(roleHierarchyResp.contains("MEMBER")){
if(roleHierarchyResp.includes("MEMBER")){
roleHierarchyResp.push("SECURITY ENGINEER")
}
if(window.USER_ROLE === 'ADMIN'){
Expand Down

0 comments on commit 20ad5e0

Please sign in to comment.