From e9744a60d59199c69495f720776f35bb94622b1a Mon Sep 17 00:00:00 2001 From: "Mikhail.Moshnikov" Date: Wed, 7 Dec 2022 09:45:45 +0300 Subject: [PATCH] fix lint --- .../components/week-time-track/week-time-track.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-angular/src/app/modules/admin/modules/users/modules/statistics/components/week-time-track/week-time-track.component.ts b/frontend-angular/src/app/modules/admin/modules/users/modules/statistics/components/week-time-track/week-time-track.component.ts index e0b032619..9fdf113da 100644 --- a/frontend-angular/src/app/modules/admin/modules/users/modules/statistics/components/week-time-track/week-time-track.component.ts +++ b/frontend-angular/src/app/modules/admin/modules/users/modules/statistics/components/week-time-track/week-time-track.component.ts @@ -141,7 +141,7 @@ export class WeekTimeTrackComponent { public isAllowNextMonth(): boolean { /// for December if (this.selectedMonth.add(1, 'month').month() === 0 ) { - return this.selectedMonth.month() <= dayjs().subtract(1, 'month').month() + return this.selectedMonth.month() <= dayjs().subtract(1, 'month').month(); } return this.selectedMonth.add(1, 'month').month() <= dayjs().month(); }