Skip to content

Commit

Permalink
ALCS-2416 Include next year in dropdown list
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarreta committed Dec 19, 2024
1 parent f54da40 commit 4be7d29
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export class EditBoundaryAmendmentDialogComponent implements OnInit {

this.loadComponents();

const currentYear = moment().year();
for (let i = currentYear; i >= 1974; i--) {
const nextYear = moment().year() + 1;
for (let i = nextYear; i >= 1974; i--) {
this.years.push(i.toString(10));
}
}
Expand Down

0 comments on commit 4be7d29

Please sign in to comment.