Dashboard balance fixes (#3876)

* Fix wallet balance for case crypto code == default currency

* Handle old NBXplorer backend case

* Cleanup
This commit is contained in:
d11n
2022-06-20 07:31:22 +02:00
committed by GitHub
parent b2a5b3c3c4
commit c943303a45
5 changed files with 66 additions and 34 deletions

View File

@@ -14,6 +14,6 @@ public class StoreWalletBalanceViewModel
public StoreData Store { get; set; }
public WalletId WalletId { get; set; }
public WalletHistogramType Type { get; set; }
public IList<string> Labels { get; set; } = new List<string>();
public IList<decimal> Series { get; set; } = new List<decimal>();
public IList<string> Labels { get; set; }
public IList<decimal> Series { get; set; }
}