mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14: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:
@@ -3,13 +3,8 @@ using BTCPayServer.Abstractions.Contracts;
|
||||
|
||||
namespace BTCPayServer.Models.NotificationViewModels
|
||||
{
|
||||
public class IndexViewModel
|
||||
public class IndexViewModel : BasePagingViewModel
|
||||
{
|
||||
public int Skip { get; set; }
|
||||
public int Count { get; set; }
|
||||
public int Total { get; set; }
|
||||
public List<NotificationViewModel> Items { get; set; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user