Skip to content

Commit

Permalink
Fix order of most used.
Browse files Browse the repository at this point in the history
The ordering was switched, and showed least used first.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed Oct 1, 2024
1 parent 8e8a815 commit a77e8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function renderSidebar(
switch (selectedOrder) {
case 'Most Used': {
branches.sort(
(a, b) => branchDetails.get(a)!.count - branchDetails.get(b)!.count
(a, b) => branchDetails.get(b)!.count - branchDetails.get(a)!.count
);
break;
}
Expand Down

0 comments on commit a77e8a8

Please sign in to comment.