Do not always provide counting in list views (#3696)

This commit is contained in:
Nicolas Dorier
2022-05-02 16:35:28 +09:00
committed by GitHub
parent a40429e219
commit e16a718bde
25 changed files with 66 additions and 90 deletions

View File

@@ -68,7 +68,6 @@ namespace BTCPayServer.Controllers
Disabled = u.LockoutEnabled && u.LockoutEnd != null && DateTimeOffset.UtcNow < u.LockoutEnd.Value.UtcDateTime
})
.ToListAsync();
model.Total = await usersQuery.CountAsync();
return View(model);
}