Skip to content

Commit a686ee4

Browse files
committed
Hide submissions for normal users on design challenges
1 parent 022d8a6 commit a686ee4

File tree

1 file changed

+1
-1
lines changed
  • src/components/ChallengeEditor/Submissions

1 file changed

+1
-1
lines changed

src/components/ChallengeEditor/Submissions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ class SubmissionsComponent extends React.Component {
301301
</div>
302302
)
303303
} else if (!haveManagePermission) {
304-
checkpointsUI = (
304+
return (
305305
<div className={cn(styles['container'], styles['no-view'])}>
306306
<ReactSVG className={styles['lock']} path={assets(`${Lock}`)} />
307307
<div className={styles['title']}>Private Challenge</div>

0 commit comments

Comments
 (0)