peace nirvana and no yellow warning lines in my console

This commit is contained in:
2023-12-05 16:33:04 -07:00
parent 6e49c79cbd
commit 91e946c36d
26 changed files with 75 additions and 397 deletions

View File

@@ -73,12 +73,15 @@
</form>
<br>
<label class="form-label">Assignment Group</label>
<ButtonSelect
Label="Assignment Group"
Options="planner.LocalCourse.Settings.AssignmentGroups"
GetName="(g) => g?.Name"
OnSelect="(g) => setAssignmentGroup(g)"
/>
@if(planner != null)
{
<ButtonSelect
Label="Assignment Group"
Options="planner.LocalCourse?.Settings.AssignmentGroups ?? []"
GetName="(g) => g?.Name"
OnSelect="(g) => setAssignmentGroup(g)"
/>
}
</Body>
<Footer>
<button