Disable admin logs next button when there are no more logs (#9277)

This commit is contained in:
DrSmugleaf
2022-06-29 10:38:24 +02:00
committed by GitHub
parent f1bc15b6fb
commit 2a59e1b7fd
3 changed files with 15 additions and 7 deletions

View File

@@ -30,14 +30,16 @@ public static class AdminLogsEuiMsg
[Serializable, NetSerializable]
public sealed class NewLogs : EuiMessageBase
{
public NewLogs(List<SharedAdminLog> logs, bool replace)
public NewLogs(List<SharedAdminLog> logs, bool replace, bool hasNext)
{
Logs = logs;
Replace = replace;
HasNext = hasNext;
}
public List<SharedAdminLog> Logs { get; set; }
public bool Replace { get; set; }
public bool HasNext { get; set; }
}
[Serializable, NetSerializable]