Improved Notifications List View (#6050, #3871)

This commit is contained in:
Chukwuleta Tobechi
2024-07-02 09:55:54 +01:00
committed by GitHub
parent d6d14b4170
commit e0a0406825
14 changed files with 230 additions and 61 deletions

View File

@@ -1,12 +1,20 @@
using System.Collections.Generic;
using BTCPayServer.Abstractions.Contracts;
using BTCPayServer.Data;
namespace BTCPayServer.Models.NotificationViewModels
{
public class IndexViewModel : BasePagingViewModel
{
public List<NotificationViewModel> Items { get; set; }
public List<NotificationViewModel> Items { get; set; } = [];
public string SearchText { get; set; }
public string Status { get; set; }
public SearchString Search { get; set; }
public override int CurrentPageCount => Items.Count;
}
public class NotificationIndexViewModel : IndexViewModel
{
public List<StoreData> Stores { get; set; }
}
}