Skip to content

Commit

Permalink
fix: prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandergu committed Oct 19, 2023
1 parent 164f10a commit 503d274
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 503d274

Please sign in to comment.