Skip to content

Commit 2136f39

Browse files
committed
Fixing bug (missing download button for logs on reference solution detail page).
1 parent 003546c commit 2136f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Solutions/SolutionDetail/SolutionDetail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ class SolutionDetail extends Component {
252252
/>
253253
)}
254254

255-
{evaluation && permissionHints.downloadResultArchive && (
255+
{evaluation && permissionHints[referenceSolution ? 'viewDetail' : 'downloadResultArchive'] && (
256256
<Row>
257257
<Col lg={6} md={12}>
258258
<DownloadResultArchiveContainer submissionId={restSub.id} isReference={referenceSolution} />

0 commit comments

Comments
 (0)