Skip to content

Commit

Permalink
- fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Dec 9, 2023
1 parent 4057007 commit 37f6975
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tdrs-frontend/src/selectors/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ export const accountCanViewAdmin = (state) =>

export const accountCanViewKibana = (state) =>
accountStatusIsApproved(state) &&
['Developer', 'OFA System Admin', 'ACF OCIO', 'OFA Admin', 'Data Analyst'].includes(
selectPrimaryUserRole(state)?.name
)
[
'Developer',
'OFA System Admin',
'ACF OCIO',
'OFA Admin',
'Data Analyst',
].includes(selectPrimaryUserRole(state)?.name)

0 comments on commit 37f6975

Please sign in to comment.