Skip to content

Commit e07675b

Browse files
committed
fix: address no-map-spread warning
1 parent 745b3eb commit e07675b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/components/Compare/FacetQuadrantChart.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,12 @@ const rawQuadrant = computed(() => createQuadrantDataset(source.value))
112112
const dataset = computed<VueUiQuadrantDatasetItem[]>(() => {
113113
return rawQuadrant.value.map((el: PackageQuadrantPoint) => {
114114
return {
115-
...el,
115+
adoptionScore: el.adoptionScore,
116+
efficiencyScore: el.efficiencyScore,
117+
id: el.id,
118+
license: el.license,
119+
metrics: el.metrics,
120+
quadrant: el.quadrant,
116121
fullname: el.name,
117122
name: applyEllipsis(el.name, 20),
118123
shape: 'circle',

0 commit comments

Comments
 (0)