Skip to content

Commit

Permalink
Fix bug with dragging 0 hours in large modal (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathildehaugum authored Dec 12, 2023
1 parent e4f6071 commit 46578db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function AddEngagementHoursRow({
);

if (hoursForWeek) {
hoursForWeek.hours = resHours || hoursForWeek.hours || 0;
hoursForWeek.hours = resHours ?? hoursForWeek.hours ?? 0;
} else {
consultant.weekWithHours.push({
week: dayToWeek(d),
Expand Down

0 comments on commit 46578db

Please sign in to comment.