Skip to content

Commit

Permalink
web-ui: fix the send tab for trezor.
Browse files Browse the repository at this point in the history
  • Loading branch information
adinael committed Oct 27, 2020
1 parent 78fb989 commit 32264fd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,18 @@
<div class="tab-wrapper">
<label class="first-position"> {{ 'label.sendXSN' | translate }}</label>
<div class="first-position">{{ 'label.address' | translate }}</div>
<input class="second-position complete black-text form-control" #destinationAddress type="text">
<input class="second-position complete black-text form-control" #destinationAddress type="text" (change)="destinationAddress.value = destinationAddress.value.trim()">
<div class="first-position">{{ 'label.amount' | translate }}</div>
<input class="second-position complete black-text form-control" #amountValue (change)="precise(amountValue)"
#amountXSN type="number" min="0" step="0.00000001">
<input class="second-position complete black-text form-control" #amountValue
type="number" min="0" step="0.00000001" (change)="precise(amountValue)">
<div class="first-position">{{ 'label.fee' | translate }}</div>
<select class="second-position form-control" #selectedFee (change)="refresh()">
<option *ngFor="let fee of transactionFees" value="{{fee.amount}}">
{{fee.name}} ({{fee.amount}} {{ 'label.satoshis' | translate }})
</option>
</select>
<input class="first-position btn btn-primary btn-serach" type="button" value="{{ 'label.send' | translate }}"
(click)="signTransaction(destinationAddress.value, amountXSN.value, selectedFee.value)">
(click)="signTransaction(destinationAddress.value, amountValue.value, selectedFee.value)">
</div>
<br>
<label>{{'label.generatedTransaction' | translate}}: </label>
Expand Down

0 comments on commit 32264fd

Please sign in to comment.