Skip to content

Commit

Permalink
fix ordering of builds, latest to oldest, on chrome. (#332)
Browse files Browse the repository at this point in the history
* fix ordering of builds, latest to oldest, on chrome.
  • Loading branch information
bdon authored Nov 10, 2024
1 parent 50344dc commit f40ab9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/BuildsComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ export default function BuildsComponent() {
.then((j) => {
setBuilds(
j.sort((a: Build, b: Build) => {
return a.key < b.key;
if (a.key < b.key) return 1;
if (a.key > b.key) return -1;
return 0;
}),
);
});
Expand Down

0 comments on commit f40ab9e

Please sign in to comment.