Skip to content

Commit 39570ba

Browse files
TD-4218 Changing the Enrolled by Admin
1 parent 09f048b commit 39570ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/ViewModels/TrackingSystem/Delegates/Shared/DelegateCourseInfoViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private DelegateCourseInfoViewModel(DelegateCourseInfo info)
7777
EnrolmentMethod = info.EnrolmentMethodId switch
7878
{
7979
1 => "Self enrolled",
80-
2 => "Enrolled by Admin - " + (enrolledByFullName),
80+
2 => enrolledByFullName != null ? "Enrolled by Admin - " + enrolledByFullName : "Enrolled by Admin",
8181
3 => "Group",
8282
_ => "System",
8383
};

0 commit comments

Comments
 (0)