Skip to content

Commit

Permalink
Merge branch 'main' of github.com:rage/factor-analysis-exercise-servi…
Browse files Browse the repository at this point in the history
…ce into custom-view
  • Loading branch information
anadis504 committed Mar 28, 2024
2 parents 8ab0391 + e5035c8 commit c6e154a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/PdfDownload/PdfGenerator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ const MyDoc: React.FC<React.PropsWithChildren<CustomViewIframeState>> = (props)
const grading = task.grading as CustomViewExerciseTaskGrading
const answer =
((task.user_answer as CustomViewExerciseTaskSubmission)?.data_json as UserAnswer) ?? null

const pubSpec = task.public_spec as PublicSpec
const gradingFeedback = grading.feedback_json
? (grading.feedback_json as ExerciseFeedback)
Expand Down

0 comments on commit c6e154a

Please sign in to comment.