Trial - boosting prospect grid loading performance
This commit is contained in:
@@ -97,7 +97,9 @@ namespace FoodsharingSiegen.Server.Controls
|
||||
/// <summary>
|
||||
/// Gets the value of the interactions (ab)
|
||||
/// </summary>
|
||||
private List<Interaction> Interactions => Prospect?.Interactions.Where(x => x.Type == Type).ToList() ?? [];
|
||||
private List<Interaction> Interactions => Prospect?.Interactions is null
|
||||
? []
|
||||
: [.. Prospect.Interactions.Where(x => x.Type == Type)];
|
||||
|
||||
/// <summary>
|
||||
/// Gets the value of the not needed (ab)
|
||||
|
||||
Reference in New Issue
Block a user