Skip to content

Commit f4c4b33

Browse files
committed
show materials on /submission/[id]
1 parent 57d4112 commit f4c4b33

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

frontend/src/components/submission/submission.graphql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ query Submission($id: ID!, $language: String!) {
2828
id
2929
name
3030
}
31+
materials {
32+
id
33+
name
34+
url
35+
fileId
36+
fileUrl
37+
fileMimeType
38+
}
3139
speaker {
3240
id
3341
fullName

frontend/src/pages/submission/[id]/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export const SubmissionPage = () => {
7979
speakers={submission?.speaker ? [submission.speaker] : null}
8080
bookable={false}
8181
spacesLeft={0}
82+
materials={submission?.materials}
8283
sidebarExtras={
8384
<VerticalStack alignItems="start" gap="small">
8485
{submission.canEdit ? (

0 commit comments

Comments
 (0)