mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-10 01:24:22 +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>
17 lines
470 B
C#
17 lines
470 B
C#
using System.Collections.Generic;
|
|
using BTCPayServer.Data;
|
|
using BTCPayServer.Services.Apps;
|
|
|
|
namespace BTCPayServer.Components.AppTopItems;
|
|
|
|
public class AppTopItemsViewModel
|
|
{
|
|
public string Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string AppType { get; set; }
|
|
public string Url { get; set; }
|
|
public List<ItemStats> Entries { get; set; }
|
|
public List<int> SalesCount { get; set; }
|
|
public bool InitialRendering { get; set; }
|
|
}
|