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

@@ -8,6 +8,7 @@ namespace BTCPayServer.Models.InvoicingModels
public class InvoicesModel : BasePagingViewModel
{
public List<InvoiceModel> Invoices { get; set; } = new List<InvoiceModel>();
public override int CurrentPageCount => Invoices.Count;
public string[] StoreIds { get; set; }
public string StoreId { get; set; }
public bool IncludeArchived { get; set; }