mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Hide pagination & page size when not necessary (#2122)
* UI: Hide pagination and page size when not necessary * UI: Use pager component for notifications list * UI: Use pager component for wallet transactions list * UI: Improve pager component * Fix from code review
This commit is contained in:
@@ -290,6 +290,13 @@ namespace BTCPayServer.Controllers
|
||||
Count = count,
|
||||
Total = 0
|
||||
};
|
||||
if (labelFilter != null)
|
||||
{
|
||||
model.PaginationQuery = new Dictionary<string, object>
|
||||
{
|
||||
{"labelFilter", labelFilter}
|
||||
};
|
||||
}
|
||||
if (transactions == null)
|
||||
{
|
||||
TempData.SetStatusMessageModel(new StatusMessageModel()
|
||||
|
||||
Reference in New Issue
Block a user