File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
DigitalLearningSolutions.Web/Controllers/SupervisorController Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,6 @@ public IActionResult MyStaffList(
6060 var loggedInAdminUser = userService . GetAdminUserById ( adminId ) ;
6161 var centreRegistrationPrompts = centreRegistrationPromptsService . GetCentreRegistrationPromptsByCentreId ( centreId ) ;
6262 var supervisorDelegateDetails = supervisorService . GetSupervisorDelegateDetailsForAdminId ( adminId , loggedInAdminUser . CategoryId ) ;
63- if ( ! supervisorDelegateDetails . Any ( ) )
64- {
65- supervisorDelegateDetails = supervisorService . GetSupervisorDelegateDetailsForAdminIdWithoutRemovedClause ( adminId ) ;
66- }
6763 var isSupervisor = User . GetCustomClaimAsBool ( CustomClaimTypes . IsSupervisor ) ?? false ;
6864 var allSupervisorDelegateDetailViewModels = supervisorDelegateDetails . Select (
6965 supervisor =>
You can’t perform that action at this time.
0 commit comments