We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 823d9f8 commit 95e1d14Copy full SHA for 95e1d14
src/Entities/WorkItem.cs
@@ -95,7 +95,7 @@ public void AddTimeByState(TimeByState timeByState)
95
96
public void AddTimesByState(IEnumerable<TimeByState> timesByState)
97
{
98
- if (timesByState is null && !timesByState.Any())
+ if (timesByState is null || timesByState?.Any() == false)
99
return;
100
101
foreach (var timeByState in timesByState)
0 commit comments