Skip to content

Commit 94cdb18

Browse files
committed
show users button for all users
1 parent 0110fb3 commit 94cdb18

File tree

1 file changed

+1
-1
lines changed
  • src/components/ChallengesComponent

1 file changed

+1
-1
lines changed

src/components/ChallengesComponent/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const ChallengesComponent = ({
9191
</div>
9292
{activeProject && activeProject.id && !isReadOnly ? (
9393
<div className={styles.projectActionButtonWrapper}>
94-
{(checkAdmin(auth.token) || checkManager(auth.token)) && (
94+
{isAdminOrCopilot && (
9595
<OutlineButton
9696
text={'Users'}
9797
type='info'

0 commit comments

Comments
 (0)