Async dashboard (#3916)

* 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>
This commit is contained in:
d11n
2022-07-06 05:40:16 +02:00
committed by GitHub
parent 19aaff2345
commit 657423207b
25 changed files with 459 additions and 265 deletions

View File

@@ -6,9 +6,10 @@ namespace BTCPayServer.Models.StoreViewModels;
public class StoreDashboardViewModel
{
public string StoreId { get; set; }
public string CryptoCode { get; set; }
public string StoreName { get; set; }
public bool WalletEnabled { get; set; }
public bool LightningEnabled { get; set; }
public bool IsSetUp { get; set; }
public List<AppData> Apps { get; set; }
public List<AppData> Apps { get; set; } = new();
}