Skip to content

Commit 95e1d14

Browse files
committed
Updating workitem
1 parent 823d9f8 commit 95e1d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Entities/WorkItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public void AddTimeByState(TimeByState timeByState)
9595

9696
public void AddTimesByState(IEnumerable<TimeByState> timesByState)
9797
{
98-
if (timesByState is null && !timesByState.Any())
98+
if (timesByState is null || timesByState?.Any() == false)
9999
return;
100100

101101
foreach (var timeByState in timesByState)

0 commit comments

Comments
 (0)