Skip to content

Commit

Permalink
don't do it when no date is selected (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlapaglia authored Sep 29, 2021
1 parent 181d408 commit e2e8b85
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ export class PlatesComponent implements OnInit, OnDestroy, AfterViewInit {
this.filterPlateNumber = plateNumber;
}

this.filterStartOn.setUTCHours(0,0,0,0);
this.filterEndOn.setUTCHours(23,59,59,999);
this.filterStartOn?.setUTCHours(0,0,0,0);
this.filterEndOn?.setUTCHours(23,59,59,999);

request.pageNumber = this.pageNumber;
request.pageSize = this.pageSize;
Expand Down

0 comments on commit e2e8b85

Please sign in to comment.