From 89c1b94a12a7f7ade328c090fdbc8115ac4f120b Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Tue, 31 May 2022 11:51:12 +0200 Subject: [PATCH] Dashboard: Do not display archived invoices in recent invoices Fixes #3783. --- .../Components/StoreRecentInvoices/StoreRecentInvoices.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BTCPayServer/Components/StoreRecentInvoices/StoreRecentInvoices.cs b/BTCPayServer/Components/StoreRecentInvoices/StoreRecentInvoices.cs index 4555f0255..72e2fcca4 100644 --- a/BTCPayServer/Components/StoreRecentInvoices/StoreRecentInvoices.cs +++ b/BTCPayServer/Components/StoreRecentInvoices/StoreRecentInvoices.cs @@ -38,6 +38,7 @@ public class StoreRecentInvoices : ViewComponent { UserId = userId, StoreId = new [] { store.Id }, + IncludeArchived = false, Take = 5 }); var invoices = new List();