Commit d39b40ea authored by Maxym Borodenko's avatar Maxym Borodenko

"Saved list of accessions" section is disappeared

parent 6614f8e2
Pipeline #2363 canceled with stages
in 2 minutes and 45 seconds
......@@ -287,7 +287,7 @@ public class GenesysServiceImpl implements GenesysService, DatasetService {
Page<Accession> data = accessionRepository.findById(accessionIds, pageable);
return new PageImpl<AccessionDetails>(getAccessionDetails(data.getContent().stream().map(a -> a.getId()).collect(Collectors.toList())), pageable, data.getTotalElements());
} else {
return new PageImpl<AccessionDetails>(new ArrayList<AccessionDetails>(), pageable, 0);
return null;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment