Skip to content

Commit

Permalink
Most recently added genomes should appear in the beginning of the lis…
Browse files Browse the repository at this point in the history
…t of species lozenges (#1139)
  • Loading branch information
azangru authored May 23, 2024
1 parent 3cb62fe commit ec309a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ export const commitSelectedSpeciesAndSave = createAsyncThunk(
const newSpeciesToCommit = prepareSelectedSpeciesForCommit(selectedSpecies);

const newCommittedSpecies = [
...alreadyCommittedSpecies,
...newSpeciesToCommit
...newSpeciesToCommit,
...alreadyCommittedSpecies
];

dispatch(updateCommittedSpecies(newCommittedSpecies));
Expand Down

0 comments on commit ec309a5

Please sign in to comment.