Skip to content

Commit 4df7882

Browse files
committed
Making a temparary fix for the date, since it was not working at all before.
1 parent 11486fc commit 4df7882

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eform-client/src/app/plugins/modules/backend-configuration-pn/modules/task-management/components/task-management-filters/task-management-filters.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ export class TaskManagementFiltersComponent implements OnInit, OnDestroy {
109109
}),
110110
date: new FormGroup({
111111
dateFrom: new FormControl({
112-
value: parse(filters.dateFrom as string, PARSING_DATE_FORMAT, new Date),
112+
value: new Date(),
113113
disabled: !filters.propertyId,
114114
}),
115115
dateTo: new FormControl({
116-
value: parse(filters.dateTo as string, PARSING_DATE_FORMAT, new Date),
116+
value: new Date(),
117117
disabled: !filters.propertyId,
118118
}),
119119
}),
@@ -162,7 +162,7 @@ export class TaskManagementFiltersComponent implements OnInit, OnDestroy {
162162
// } else {
163163
// this.filtersForm.get('lastAssignedTo').disable();
164164
// }
165-
this.filtersForm.get('status').enable();
165+
this.filtersForm.get('statuses').enable();
166166
this.filtersForm.get('date').enable();
167167
}
168168
});

0 commit comments

Comments
 (0)