Skip to content

Commit

Permalink
Merge pull request #877 from aura-nw/baseline/main_20230721
Browse files Browse the repository at this point in the history
baseline/main_20230721
  • Loading branch information
nhphuc2411 authored Jul 21, 2023
2 parents 8d6d441 + 984982d commit 074568a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/account/services/account.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class AccountService {
delegation.amount = this.changeUauraToAura(item.balance.amount);
if (
reward.length > 0 &&
reward[0].reward.length > 0 &&
reward[0].reward?.length > 0 &&
reward[0].reward[0].denom === this.minimalDenom
) {
delegation.reward = this.changeUauraToAura(
Expand Down Expand Up @@ -337,6 +337,7 @@ export class AccountService {
);
if (
commissionData &&
commissionData.commission?.commission?.length > 0 &&
commissionData.commission.commission[0].denom === this.minimalDenom
) {
commission = commissionData.commission.commission[0].amount;
Expand Down

0 comments on commit 074568a

Please sign in to comment.