diff --git a/report-viewer/src/components/ComparisonsTable.vue b/report-viewer/src/components/ComparisonsTable.vue index f481e5fe4..400b67943 100644 --- a/report-viewer/src/components/ComparisonsTable.vue +++ b/report-viewer/src/components/ComparisonsTable.vue @@ -38,7 +38,7 @@
b.averageSimilarity - a.averageSimilarity) .forEach((c) => { c.sortingPlace = counter++ - c.index = counter + c.id = counter }) for (const member of cluster.members) { diff --git a/report-viewer/src/views/OverviewView.vue b/report-viewer/src/views/OverviewView.vue index d7af467f9..5b0334fc8 100644 --- a/report-viewer/src/views/OverviewView.vue +++ b/report-viewer/src/views/OverviewView.vue @@ -134,7 +134,7 @@ const displayedComparisons = computed(() => { const comparisons = getFilteredComparisons(getSortedComparisons(overview.topComparisons)) let index = 1 comparisons.forEach((c) => { - c.index = index++ + c.id = index++ }) return comparisons })