Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(files): Track by entity_id over participant_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Schranz committed Mar 17, 2015
1 parent c142c7b commit 159a80d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/scripts/files/templates/file.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h3 class="panel-title" data-translate>Data Information</h3>
<div class="panel-heading">
<h3 class="panel-title">Associated Participants / Biospecimen</h3>
</div>
<div class="panel-body" data-ng-if="!fc.file.participants.length">
<div class="panel-body" data-ng-if="!fc.file.associated_entities.length">
<h4 class="list-group-item-heading">No participants found.</h4>
</div>
<div class="table-responsive" data-ng-if="fc.file.associated_entities.length">
Expand All @@ -151,7 +151,7 @@ <h4 class="list-group-item-heading">No participants found.</h4>
</tr>
</thead>
<tbody>
<tr data-ng-repeat="e in fc.file.associated_entities track by e.participant_id">
<tr data-ng-repeat="e in fc.file.associated_entities track by e.entity_id">
<td>{{ ::e.entity_id }}</td>
<td>{{ ::e.entity_type | humanify }}</td>
<td>
Expand Down

0 comments on commit 159a80d

Please sign in to comment.