mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-28 19:34:23 +01:00
* Dashboard: Fix app stats tiles They broke with #4747, because they contain script blocks that are loaded asynchronuosly and need to get run once the chart data is added to the page. * Refactor PoS dashboard component * Collocate the component JS files in separate files --------- Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
18 lines
517 B
C#
18 lines
517 B
C#
using System.Collections.Generic;
|
|
using BTCPayServer.Data;
|
|
using BTCPayServer.Services.Apps;
|
|
|
|
namespace BTCPayServer.Components.AppSales;
|
|
|
|
public class AppSalesViewModel
|
|
{
|
|
public string Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string AppType { get; set; }
|
|
public AppSalesPeriod Period { get; set; }
|
|
public string Url { get; set; }
|
|
public long SalesCount { get; set; }
|
|
public IEnumerable<SalesStatsItem> Series { get; set; }
|
|
public bool InitialRendering { get; set; }
|
|
}
|