File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public void AddTimeByState(TimeByState timeByState)
9595
9696 public void AddTimesByState ( IEnumerable < TimeByState > timesByState )
9797 {
98- if ( timesByState is not null && ! timesByState . Any ( ) )
98+ if ( timesByState is null && ! timesByState . Any ( ) )
9999 return ;
100100
101101 foreach ( var timeByState in timesByState )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public static string ExtractEmail(this string user)
2525 if ( ! user . Contains ( " <" ) && ! user . TrimEnd ( ) . Contains ( ">" ) )
2626 return user ;
2727
28- return user . Split ( "<" ) . LastOrDefault ( ) . Split ( ">" ) . FirstOrDefault ( ) ;
28+ return user . Split ( "<" ) . LastOrDefault ( ) ? . Split ( ">" ) ? . FirstOrDefault ( ) ;
2929 }
3030
3131 public static string ToTextTime ( this TimeSpan timeSpan )
You can’t perform that action at this time.
0 commit comments