Skip to content

Commit

Permalink
cleanup: sort updates by date
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits authored and taukakao committed Jan 22, 2025
1 parent c900f52 commit 5c972c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Updates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default defineComponent({
day: date,
bugs: data[date].bugs,
enhancements: data[date].enhancements,
}));
})).sort((a, b) => new Date(b.day).getTime() - new Date(a.day).getTime());
this.loadIndex = this.loadIncrement;
this.displayedDays = this.days.slice(0, this.loadIndex);
});
Expand Down

0 comments on commit 5c972c9

Please sign in to comment.