From 4be7d29eb48ae7cd0573eda18ba7a9747ee776a8 Mon Sep 17 00:00:00 2001 From: Felipe Barreta Date: Thu, 19 Dec 2024 11:09:19 -0800 Subject: [PATCH] ALCS-2416 Include next year in dropdown list --- .../edit-boundary-amendment-dialog.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alcs-frontend/src/app/features/application/boundary-amendment/edit-boundary-amendment-dialog/edit-boundary-amendment-dialog.component.ts b/alcs-frontend/src/app/features/application/boundary-amendment/edit-boundary-amendment-dialog/edit-boundary-amendment-dialog.component.ts index d978067bcd..43737e1cb5 100644 --- a/alcs-frontend/src/app/features/application/boundary-amendment/edit-boundary-amendment-dialog/edit-boundary-amendment-dialog.component.ts +++ b/alcs-frontend/src/app/features/application/boundary-amendment/edit-boundary-amendment-dialog/edit-boundary-amendment-dialog.component.ts @@ -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)); } }