Skip to content

Commit

Permalink
[Quiz] fixes statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed Mar 23, 2021
1 parent 0c72b99 commit 1972be8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const ChoicePaper = props =>
</ContentHtml>

<AnswerStats stats={{
value: props.stats.choices[solution.id] ?
value: props.stats.choices && props.stats.choices[solution.id] ?
props.stats.choices[solution.id] :
0,
total: props.stats.total
Expand Down

0 comments on commit 1972be8

Please sign in to comment.