update
This commit is contained in:
@@ -51,12 +51,15 @@ public partial class Index
|
||||
}
|
||||
|
||||
private string _walletCredit = "-";
|
||||
private string _walletDiscount = "-";
|
||||
private string _walletNetwork = "-";
|
||||
private async Task LoadWallet()
|
||||
{
|
||||
var b = await WalletService.GetBalancesAsync();
|
||||
_walletCredit = FormatPrice(b.CreditBalance);
|
||||
var discount = FormatPrice(b.DiscountBalance);
|
||||
_walletNetwork = FormatPrice(b.NetworkBalance);
|
||||
_walletDiscount = discount;
|
||||
StateHasChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user