Skip to content
Snippets Groups Projects

Fix empty request table error

1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -347,6 +347,9 @@ public class RequestTableService {
* @return The mapping from assignment ids to edition names.
*/
private Map<Long, String> assignmentsWithCourseCodes(List<AssignmentDetailsDTO> assignments) {
if (assignments.isEmpty())
return Collections.emptyMap();
List<Long> assignmentIds = assignments.stream().map(AssignmentDetailsDTO::getId).toList();
var assignmentModules = Objects
Loading