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:
Dennis Reimann
2020-12-12 07:21:37 +01:00
committed by GitHub
parent 282d0abb62
commit ed497cab99
8 changed files with 71 additions and 199 deletions

View File

@@ -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; }
}
}