Skip to content

Commit

Permalink
Remove nullish coalesce operator to minimize warning
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisJordan committed Jun 4, 2024
1 parent 0dc8dd3 commit af137b8
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,10 @@ export class EditEventFormComponent implements OnInit {
event_date: this.eventForm.value.event_date,
start_time:
this.eventForm.value.event_date +
'T' +
this.eventForm.value.start_time ?? '',
'T' +
this.eventForm.value.start_time,
end_time:
this.eventForm.value.event_date +
'T' +
this.eventForm.value.end_time ?? ''
this.eventForm.value.event_date + 'T' + this.eventForm.value.end_time
};

this.officeHoursService.updateEvent(event_draft).subscribe({
Expand Down

0 comments on commit af137b8

Please sign in to comment.