Skip to content

Commit

Permalink
sort years desc
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcage committed Jan 9, 2024
1 parent 7dd6d67 commit c82ab3d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export default {
async created() {
const res = await donationsApi.listYears();
this.years = res.data
this.years.sort((a,b)=>b-a);
},
methods: {
handleOk(bvModalEvt) {
Expand Down

0 comments on commit c82ab3d

Please sign in to comment.