Fix Next button resending the same admin logs (#16557)

This commit is contained in:
DrSmugleaf
2023-05-17 22:51:17 -07:00
committed by GitHub
parent b57717a6cc
commit 77ae2f2484
3 changed files with 2 additions and 6 deletions

View File

@@ -165,8 +165,8 @@ public sealed class AdminLogsEui : BaseEui
var largestId = _filter.DateOrder switch
{
DateOrder.Ascending => ^1,
DateOrder.Descending => 0,
DateOrder.Ascending => 0,
DateOrder.Descending => ^1,
_ => throw new ArgumentOutOfRangeException(nameof(_filter.DateOrder), _filter.DateOrder, null)
};