Skip to content

Commit

Permalink
Reverse Year search select options
Browse files Browse the repository at this point in the history
  • Loading branch information
YellowFish085 committed Apr 11, 2020
1 parent 33b61cd commit 8831adc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/search/inputs/InputYear.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export default class InputYear extends Vue {
/** Search years. */
years = new Array(new Date().getFullYear() - 1950 + 1)
.fill(undefined)
.map((value, index) => index + 1950);
.map((value, index) => index + 1950)
.reverse();
/**
* Disabled?
Expand Down

0 comments on commit 8831adc

Please sign in to comment.