Skip to content

Commit 9518da3

Browse files
authored
Merge pull request #459 from LiamMorrow/fix-npe
2 parents 4ceb0d8 + 4c779e9 commit 9518da3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

LiftLog.Ui/Pages/StatsPage.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
Options="SessionSelectOptions"
1414
Value="StatsState.Value.OverallViewSessionName"
1515
ValueChanged="HandleSessionSelectChanged"
16-
EqualsComparer="(a,b)=>a.Equals(b)" />
16+
EqualsComparer="(a,b)=>a?.Equals(b) ?? (a is null && b is null)" />
1717
<Select
1818
data-cy="stats-time-selector"
1919
T="TimeSpan"

0 commit comments

Comments
 (0)