mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
added quiz popup form and displaying on month
This commit is contained in:
@@ -14,12 +14,11 @@ public class AssignmentEditorContext
|
||||
private LocalAssignment? _assignment;
|
||||
public LocalAssignment? Assignment
|
||||
{
|
||||
get =>_assignment;
|
||||
get => _assignment;
|
||||
set
|
||||
{
|
||||
_assignment = value;
|
||||
StateHasChanged?.Invoke();
|
||||
Console.WriteLine("new assignment");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +29,7 @@ public class AssignmentEditorContext
|
||||
var currentModule =
|
||||
planner.LocalCourse.Modules.First(
|
||||
m => m.Assignments.Select(a => a.Id).Contains(newAssignment.Id)
|
||||
) ?? throw new Exception("could not find current module in assignment description form");
|
||||
) ?? throw new Exception("could not find current module in assignment editor context");
|
||||
|
||||
var updatedModules = planner.LocalCourse.Modules
|
||||
.Select(
|
||||
|
||||
Reference in New Issue
Block a user