Skip to content

Commit ef87164

Browse files
authored
Merge pull request #2133 from TechnologyEnhancedLearning/Develop/Fixes/TD-2004-CourseSetupShowSections
TD-2004 section not Showing in the courseSetup
2 parents 55321da + 71ab603 commit ef87164

File tree

1 file changed

+1
-1
lines changed
  • DigitalLearningSolutions.Web/Views/TrackingSystem/CourseSetup/CourseContent

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Views/TrackingSystem/CourseSetup/CourseContent/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<vc:field-name-value-display display-name="Course" field-value="@Model.CourseName" />
2222

23-
@if (Model.CourseHasContent)
23+
@if (Model != null)
2424
{
2525
@foreach (var section in Model.Sections)
2626
{

0 commit comments

Comments
 (0)