Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Updating workitem
  • Loading branch information
DiegoGalante committed Oct 27, 2022
commit 95e1d149346cabb881f781e0ba6fac6dc92e69b7
2 changes: 1 addition & 1 deletion src/Entities/WorkItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void AddTimeByState(TimeByState timeByState)

public void AddTimesByState(IEnumerable<TimeByState> timesByState)
{
if (timesByState is null && !timesByState.Any())
if (timesByState is null || timesByState?.Any() == false)
return;

foreach (var timeByState in timesByState)
Expand Down