Change admin log filter types and impacts to use hashsets

This commit is contained in:
DrSmugleaf
2021-12-24 20:48:21 +01:00
parent ae287f264a
commit 2f75b282b9
5 changed files with 10 additions and 11 deletions

View File

@@ -14,9 +14,9 @@ public sealed class LogFilter
public string? Search { get; set; }
public List<LogType>? Types { get; set; }
public HashSet<LogType>? Types { get; set; }
public List<LogImpact>? Impacts { get; set; }
public HashSet<LogImpact>? Impacts { get; set; }
public DateTime? Before { get; set; }