1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

improve loading of recent clients

This commit is contained in:
RaidMax
2022-04-28 11:42:23 -05:00
parent d926901ffa
commit dc07e72fb3
11 changed files with 49 additions and 56 deletions

View File

@ -325,7 +325,10 @@ namespace WebfrontCore.Controllers
}
var clients = await Manager.GetClientService().GetRecentClients(request);
return View("~/Views/Shared/Components/Client/_RecentClients.cshtml", clients);
return request.Offset == 0
? View("~/Views/Shared/Components/Client/_RecentClientsContainer.cshtml", clients)
: View("~/Views/Shared/Components/Client/_RecentClients.cshtml", clients);
}
public IActionResult RecentReportsForm()