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.
1 parent 003546c commit 2136f39Copy full SHA for 2136f39
src/components/Solutions/SolutionDetail/SolutionDetail.js
@@ -252,7 +252,7 @@ class SolutionDetail extends Component {
252
/>
253
)}
254
255
- {evaluation && permissionHints.downloadResultArchive && (
+ {evaluation && permissionHints[referenceSolution ? 'viewDetail' : 'downloadResultArchive'] && (
256
<Row>
257
<Col lg={6} md={12}>
258
<DownloadResultArchiveContainer submissionId={restSub.id} isReference={referenceSolution} />
0 commit comments