We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 409b1ee commit 4c1d42fCopy full SHA for 4c1d42f
DigitalLearningSolutions.Web/Controllers/TrackingSystem/CourseSetup/CourseSetupController.cs
@@ -662,10 +662,13 @@ private IActionResult SaveSectionAndRedirect(SetSectionContentViewModel model)
662
sectionsToRemove.Add(section);
663
}
664
665
+ if (sectionsToRemove.Count > 0)
666
+ {
667
foreach (var section in sectionsToRemove)
668
{
669
data.SectionContentData.Remove(section);
670
671
+ }
672
data!.SectionContentData!.Add(
673
new SectionContentTempData(
674
model.Tutorials != null
0 commit comments