view data fixes
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { WalletTransactionViewModel } from './WalletTransactionViewModel';
|
||||
|
||||
export class LeagueWalletViewModel {
|
||||
import { ViewModel } from "../contracts/view-models/ViewModel";
|
||||
|
||||
export class LeagueWalletViewModel extends ViewModel {
|
||||
balance: number;
|
||||
currency: string;
|
||||
totalRevenue: number;
|
||||
@@ -22,6 +24,7 @@ export class LeagueWalletViewModel {
|
||||
canWithdraw: boolean;
|
||||
withdrawalBlockReason?: string;
|
||||
}) {
|
||||
super();
|
||||
this.balance = dto.balance;
|
||||
this.currency = dto.currency;
|
||||
this.totalRevenue = dto.totalRevenue;
|
||||
|
||||
Reference in New Issue
Block a user