message: Add better handling for loading pending transactions
diff: @@ -74,6 +74,8 @@ export class AccountDetailsComponent implements OnInit, OnDestroy {
  this.walletAccount = this.wallet.getWalletAccount(this.accountID);
  this.account = await this.api.accountInfo(this.accountID);
  + // If there is a pending balance, or the account is not opened yet, load pending transactions
  + if ((!this.account.error && this.account.pending > 0) || this.account.error) {
  const pending = await this.api.pending(this.accountID, 25);
  if (pending && pending.blocks) {
  for (let block in pending.blocks) {
  @@ -86,6 +88,7 @@ export class AccountDetailsComponent implements OnInit, OnDestroy {
  });
  }
  }
  + }
  // If the account doesnt exist, set the pending balance manually
  if (this.account.error) {
  