Skip to content

Commit

Permalink
Merge pull request #119 from NazarUsov/testnet/issues
Browse files Browse the repository at this point in the history
Hot fix for tab send
  • Loading branch information
sowle authored Jun 27, 2024
2 parents fb814ff + 928d55b commit 60e5528
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ import { zanoAssetInfo } from '@parts/data/assets';
<span *ngIf="subtransfer.is_income">
{{ (isInitiator(transaction) ? subtransfer.amount.plus(transaction.fee) : subtransfer.amount) | intToMoney }}
</span>
{{ (subtransfer.asset_id | getAssetInfo)?.ticker || '???' }}
{{ (subtransfer.asset_id | getAssetInfo)?.ticker || '***' }}
</div>
</ng-container>
</ng-container>
Expand All @@ -226,7 +226,7 @@ import { zanoAssetInfo } from '@parts/data/assets';
<span *ngIf="subtransfer.is_income">
{{ subtransfer.amount | intToMoney }}
</span>
{{ (subtransfer.asset_id | getAssetInfo)?.ticker || '???' }}
{{ (subtransfer.asset_id | getAssetInfo)?.ticker || '***' }}
</div>
</ng-container>
</ng-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { ZanoValidators } from '@parts/utils/zano-validators';
</div>
<div class="text">
{{ sendMoneyParams.amount }}
{{ (sendMoneyParams.asset_id | getAssetInfo)?.ticker || '???' }}
{{ (sendMoneyParams.asset_id | getAssetInfo)?.ticker || '***' }}
</div>
</div>
Expand Down
4 changes: 3 additions & 1 deletion html_source/src/app/pages/wallet/tabs/send/send.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import { defaultImgSrc, zanoAssetInfo } from '@parts/data/assets';
template: `
<div class="container scrolled-content" fxFlex="1 1 auto">
<form
*ngIf="!(loading$ | async)"
(ngSubmit)="showDialog()"
[formGroup]="sendMoneyParamsForm"
class="form"
Expand Down Expand Up @@ -684,6 +683,9 @@ export class SendComponent implements OnInit, OnDestroy {
error: () => {
this.loading$.next(false);
},
complete: () => {
this.loading$.next(false);
}
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h3 class="title mb-2" fxFlex="0 0 auto">
<div class="text">
<ng-container *ngFor="let item of data.proposalDetails.to_initiator">
{{ item.amount | intToMoney }}
{{ (item.asset_id | getAssetInfo)?.ticker || '???' }}
{{ (item.asset_id | getAssetInfo)?.ticker || '***' }}
<br />
</ng-container>
</div>
Expand All @@ -29,7 +29,7 @@ <h3 class="title mb-2" fxFlex="0 0 auto">
<div class="text">
<ng-container *ngFor="let item of data.proposalDetails.to_finalizer">
{{ item.amount | intToMoney }}
{{ (item.asset_id | getAssetInfo)?.ticker || '???' }}
{{ (item.asset_id | getAssetInfo)?.ticker || '***' }}
<br />
</ng-container>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>

<div class="text">
<p *ngFor="let item of proposalDetails.to_initiator">{{ item.amount | intToMoney }} {{ (item.asset_id | getAssetInfo)?.ticker || '???' }}</p>
<p *ngFor="let item of proposalDetails.to_initiator">{{ item.amount | intToMoney }} {{ (item.asset_id | getAssetInfo)?.ticker || '***' }}</p>
</div>
</div>

Expand All @@ -37,7 +37,7 @@
<div class="text">
<p *ngFor="let item of proposalDetails.to_finalizer">
{{ item.amount | intToMoney }}
{{ (item.asset_id | getAssetInfo)?.ticker || '???' }}
{{ (item.asset_id | getAssetInfo)?.ticker || '***' }}
</p>
</div>
</div>
Expand Down

0 comments on commit 60e5528

Please sign in to comment.