fixed: list of duplicated tx in front-end with angularjs is not allowed

This commit is contained in:
Gustavo Cortez 2014-01-13 21:01:22 -03:00
parent a7283e3945
commit ee4236065e
2 changed files with 5 additions and 3 deletions

View File

@ -50,7 +50,7 @@
</tr>
</thead>
<tbody>
<tr data-ng-repeat="transaction in address.transactions">
<tr data-ng-repeat="transaction in address.transactions track by $index">
<td><a href="/#!/tx/{{transaction}}">{{transaction}}</a></td>
<td>--</td>
<td>--</td>

View File

@ -99,10 +99,12 @@
<h2>Transactions <small>Transactions contained within this block</small></h2>
<table class="table table-striped">
<thead>
<th>Hash</th>
<tr>
<th>Hash</th>
</tr>
</thead>
<tbody>
<tr data-ng-repeat="tx in block.tx">
<tr data-ng-repeat="tx in block.tx track by $index">
<td><a href="/#!/tx/{{tx}}">{{tx}}</a></td>
</tr>
</tbody>