Skip to content

Commit

Permalink
fix: improving empty calls
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasz97 committed Sep 26, 2024
1 parent e1b3f3d commit d046fdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/timesheet/TimeSheetTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const TimeSheetTable = component$<TimeSheetTableProps>(
entry.description === description
);

return entryNotChanged;
return entryNotChanged || (entryNotChanged && hours === 0);
};

if (ignoreChange()) {
Expand Down Expand Up @@ -285,7 +285,7 @@ export const TimeSheetTable = component$<TimeSheetTableProps>(
customer,
project,
task,
entryIndex
undefined
)
}
>
Expand Down

0 comments on commit d046fdb

Please sign in to comment.