Skip to content

Commit

Permalink
refactor TrackByFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
infacc committed Jul 8, 2023
1 parent 04a1765 commit 1dd07de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,5 +343,5 @@ export class ExperimentWorkspaceDetailComponent implements OnInit {
return aSortKey - bSortKey;
}

trackByTabLink = (index: number, item: KeyValue<string, ApiLink[]>) => item.value.map(link => link.href).join(',');
trackByTabLink = (index: number, item: KeyValue<string, ApiLink[]>) => item.key;
}

0 comments on commit 1dd07de

Please sign in to comment.