Skip to content

Commit 281a9aa

Browse files
authored
Merge pull request #396 from shubhendusaurabh/issue-368
fixed #368 hide download link in locked submissions
2 parents 6ca862a + 75d9a5a commit 281a9aa

File tree

1 file changed

+1
-1
lines changed
  • src/shared/components/challenge-detail/Winners

1 file changed

+1
-1
lines changed

src/shared/components/challenge-detail/Winners/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default function Winners(props) {
7676
<div styleName="id">ID: <span>#{getId(submissions, w)}</span></div>
7777
}
7878
{
79-
w.submissionDownloadLink &&
79+
(w.submissionDownloadLink && viewable) &&
8080
<a
8181
styleName="download"
8282
target="_blank"

0 commit comments

Comments
 (0)