Skip to content

Commit

Permalink
Merge pull request #1725 from alliance-genome/SCRUM-4574
Browse files Browse the repository at this point in the history
SCRUM-4574 Fix sorting of file histories by date
  • Loading branch information
markquintontulloch authored Nov 12, 2024
2 parents 801bbc2 + 16edfbb commit eaaf0ab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,8 @@ export const DataLoadsComponent = () => {
let filesWithoutDates = [];
files.forEach((file) => {
if (file.bulkloadStatus === 'FINISHED' || file.bulkloadStatus === 'STOPPED' || file.bulkloadStatus === 'FAILED') {
if (file.dateLastLoaded) {
lastLoadedDates.set(file.dateLastLoaded, file);
if (file.loadStarted) {
lastLoadedDates.set(file.loadStarted, file);
} else {
filesWithoutDates.push(file);
}
Expand Down

0 comments on commit eaaf0ab

Please sign in to comment.