Skip to content

Commit 6722ca8

Browse files
committed
hide skipped lessons
1 parent 31e4db9 commit 6722ca8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

LearnJsonEverything/Shared/Teacher.razor

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<ul role="listbox">
2121
@foreach (var lesson in _lessons)
2222
{
23+
@if (lesson.Skip) continue;
24+
2325
<li id="@lesson.Id" role="option" @onclick="() => SelectLesson(lesson.Id)">
2426
<span class="@(lesson.Achieved ? "" : "invisible")">@Iconography.SuccessIcon</span>
2527
@lesson.Title

0 commit comments

Comments
 (0)