Skip to content

Commit 94f09a9

Browse files
corrected download link for dev challenges
1 parent 2504575 commit 94f09a9

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ export default function Winners(props) {
7878
<a
7979
styleName="download"
8080
target="_blank"
81-
href={`${config.URL.STUDIO}/` +
82-
`?module=DownloadSubmission&sbmid=${submissionId}`}
81+
href={isDesign ? `${config.URL.STUDIO}/?module=DownloadSubmission&sbmid=${submissionId}` : w.submissionDownloadLink}
8382
>Download</a>
8483
}
8584
<div styleName="date">

0 commit comments

Comments
 (0)