Cleaning up Transaction Component
This commit is contained in:
parent
75e951dcc1
commit
651629bd5d
@ -68,7 +68,7 @@
|
||||
</ion-col>
|
||||
|
||||
<ion-col col-12 col-md-1 text-center>
|
||||
<ion-icon name="arrow-forward" class="shiftDown"></ion-icon>
|
||||
<ion-icon name="arrow-forward"></ion-icon>
|
||||
</ion-col>
|
||||
|
||||
<ion-col col-12 col-md-6>
|
||||
|
||||
@ -40,22 +40,11 @@ export class TransactionComponent {
|
||||
}
|
||||
|
||||
public goToOutpoint(txId: string, txDirection: string, txIndex: number): void {
|
||||
// output page
|
||||
if (txDirection === '>') {
|
||||
this.navCtrl.push('outpoint', {
|
||||
this.navCtrl.push('outpoint', {
|
||||
'txId': txId,
|
||||
'txDirection': '>',
|
||||
'txDirection': txDirection,
|
||||
'txIndex': txIndex
|
||||
});
|
||||
}
|
||||
// input page
|
||||
if (txDirection === '<') {
|
||||
this.navCtrl.push('outpoint', {
|
||||
'txId': txId,
|
||||
'txDirection': '<',
|
||||
'txIndex': txIndex
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public goToAddress(addrStr: string): void {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user