Cleaning up Transaction Component

This commit is contained in:
Ash Bhimasani 2018-06-08 10:29:30 -04:00
parent 75e951dcc1
commit 651629bd5d
2 changed files with 4 additions and 15 deletions

View File

@ -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>

View File

@ -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 {