Skip to content

Commit

Permalink
Update Ask.razor
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Aug 4, 2024
1 parent 0e842a7 commit ffa618a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MyApp/Components/Pages/Questions/Ask.razor
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<h3 class="ml-2 text-2xl font-semibold">AI Assistants</h3>
</div>
<p class="my-2 text-sm text-gray-500">ask more questions to unlock new assistants</p>
@foreach (var questionLevel in AppConfig.QuestionLevels)
@foreach (var questionLevel in AppConfig.QuestionLevels.Where(x => x >= 0))
{
var qualified = totalQuestions >= questionLevel;
var questionsToGo = "question" + (questionLevel - totalQuestions == 1 ? "" : "s");
Expand Down

0 comments on commit ffa618a

Please sign in to comment.