We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c807031 + 94cdb18 commit 48346d2Copy full SHA for 48346d2
src/components/ChallengesComponent/index.js
@@ -91,7 +91,7 @@ const ChallengesComponent = ({
91
</div>
92
{activeProject && activeProject.id && !isReadOnly ? (
93
<div className={styles.projectActionButtonWrapper}>
94
- {(checkAdmin(auth.token) || checkManager(auth.token)) && (
+ {isAdminOrCopilot && (
95
<OutlineButton
96
text={'Users'}
97
type='info'
0 commit comments