Skip to content

Commit

Permalink
Tweak max questions warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Jul 16, 2024
1 parent d171c6c commit a63b40f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@
zIndex: '4',
}"
>
{{ cannotSelectSomeTopicWarning$({ count: maxSectionQuestionOptions }) }}
{{
cannotSelectSomeTopicWarning$({
count: Math.max(maxSectionQuestionOptions, workingPoolUnusedQuestions),
})
}}
</div>

<ContentCardList
Expand Down

0 comments on commit a63b40f

Please sign in to comment.