This commit is contained in:
Ash Bhimasani 2018-06-01 15:16:43 -04:00
parent d021d51837
commit 75e951dcc1
2 changed files with 2 additions and 5 deletions

View File

@ -32,7 +32,7 @@
</ion-list>
<ion-list [hidden]="tx.isCoinBase">
<ion-item *ngFor="let vin of aggregateItems(tx.vin); let i = index" [ngClass]="[i === txIndex && txDirection === '<' ? 'item--state-highlight' : 'item--state-nolight']">
<ion-item *ngFor="let vin of aggregateItems(tx.vin); let i = index" [ngClass]="{'item--state-highlight' : i === txIndex && txDirection === '<'}">
<div>
<div class="ellipsis">
<p>
@ -73,7 +73,7 @@
<ion-col col-12 col-md-6>
<ion-list>
<ion-item *ngFor="let vout of tx.vout; let i = index" [ngClass]="[i === txIndex && txDirection === '>' ? 'item--state-highlight' : 'item--state-nolight']">
<ion-item *ngFor="let vout of tx.vout; let i = index" [ngClass]="{'item--state-highlight' : i === txIndex && txDirection === '>'}">
<div>
<div class="ellipsis">
<p>

View File

@ -44,9 +44,6 @@ transaction {
.item--state-highlight {
background-color: #8dc429;
}
.item--state-nolight {
background-color: default;
}
.list {
margin-bottom: 5px;