Skip to content

Commit 184e715

Browse files
committed
make users button available to everyone
1 parent 5fff264 commit 184e715

File tree

1 file changed

+10
-12
lines changed
  • src/components/ChallengesComponent

1 file changed

+10
-12
lines changed

src/components/ChallengesComponent/index.js

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,18 +91,16 @@ const ChallengesComponent = ({
9191
</div>
9292
{activeProject && activeProject.id && !isReadOnly ? (
9393
<div className={styles.projectActionButtonWrapper}>
94-
{isAdminOrCopilot && (
95-
<OutlineButton
96-
text={'Users'}
97-
type='info'
98-
submit
99-
link={{
100-
pathname: '/users',
101-
state: { projectId: activeProjectId, projectName: activeProject.name }
102-
}}
103-
className={styles.btnOutline}
104-
/>
105-
)}
94+
<OutlineButton
95+
text={'Users'}
96+
type='info'
97+
submit
98+
link={{
99+
pathname: '/users',
100+
state: { projectId: activeProjectId, projectName: activeProject.name }
101+
}}
102+
className={styles.btnOutline}
103+
/>
106104
{isAdminOrCopilot && (
107105
<OutlineButton
108106
text={'Assets Library'}

0 commit comments

Comments
 (0)