mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 06:35:13 +01:00
* Dashboard: Load Lightning balance async, display default currency * Simplify approach, improve views and scripts * Async tiles Async tiles * Add period for app sales * Fix missing keypad view sales * Fix after rebase * Fix awaited call * Fix build Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
14 lines
428 B
C#
14 lines
428 B
C#
using System.Collections.Generic;
|
|
using BTCPayServer.Data;
|
|
using BTCPayServer.Services.Apps;
|
|
|
|
namespace BTCPayServer.Components.AppSales;
|
|
|
|
public class AppSalesViewModel
|
|
{
|
|
public AppData App { get; set; }
|
|
public AppSalesPeriod Period { get; set; } = AppSalesPeriod.Week;
|
|
public int SalesCount { get; set; }
|
|
public IEnumerable<SalesStatsItem> Series { get; set; }
|
|
public bool InitialRendering { get; set; }
|
|
}
|