From 1dd07defe113fb230e76c2f2530cd8dcb6d3a860 Mon Sep 17 00:00:00 2001 From: infacc Date: Sat, 8 Jul 2023 10:39:00 +0200 Subject: [PATCH] refactor TrackByFunction --- .../experiment-workspace-detail.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/experiment-workspace-detail/experiment-workspace-detail.component.ts b/src/app/components/experiment-workspace-detail/experiment-workspace-detail.component.ts index 868f3f2..875e5ba 100644 --- a/src/app/components/experiment-workspace-detail/experiment-workspace-detail.component.ts +++ b/src/app/components/experiment-workspace-detail/experiment-workspace-detail.component.ts @@ -343,5 +343,5 @@ export class ExperimentWorkspaceDetailComponent implements OnInit { return aSortKey - bSortKey; } - trackByTabLink = (index: number, item: KeyValue) => item.value.map(link => link.href).join(','); + trackByTabLink = (index: number, item: KeyValue) => item.key; }