diff --git a/src/app/components/calendar/calendar.ts b/src/app/components/calendar/calendar.ts index e0ca1d1b9b7..8ce6c6a4b29 100755 --- a/src/app/components/calendar/calendar.ts +++ b/src/app/components/calendar/calendar.ts @@ -1672,7 +1672,9 @@ export class Calendar implements OnInit, OnDestroy, ControlValueAccessor { } isYearDisabled(year: number) { - return Array(12).fill(0).every((v, month) => this.isMonthDisabled(month, year)); + return Array(12) + .fill(0) + .every((v, month) => this.isMonthDisabled(month, year)); } isYearSelected(year: number) {