module item sorting fixed

This commit is contained in:
2024-01-12 17:02:13 -07:00
parent 324bb94eda
commit b28bea77e9
8 changed files with 31 additions and 15 deletions

View File

@@ -121,7 +121,8 @@ public class PageEditorContext(
canvasPage
);
await planner.LocalCourse.Modules.First().SortModuleItems(
var currentModule = getCurrentLocalModule(Page, planner.LocalCourse);
await currentModule.SortModuleItems(
(ulong)courseCanvasId,
canvasModule.Id,
canvas