Skip to content

Commit 3e23a1a

Browse files
committed
fix: type errors
1 parent a387e8e commit 3e23a1a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/components/Package/TableRow.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,13 @@ const emit = defineEmits<{
1414
}>()
1515
1616
const pkg = computed(() => props.result.package)
17-
const score = computed(() => props.result.score)
1817
1918
const updatedDate = computed(() => props.result.package.date)
2019
const { isPackageSelected, togglePackageSelection, canSelectMore } = usePackageSelection()
2120
const isSelected = computed<boolean>(() => {
2221
return isPackageSelected(props.result.package.name)
2322
})
2423
25-
function formatScore(value?: number): string {
26-
if (value === undefined || value === 0) return '-'
27-
return Math.round(value * 100).toString()
28-
}
29-
3024
function isColumnVisible(id: string): boolean {
3125
return props.columns.find(c => c.id === id)?.visible ?? false
3226
}

0 commit comments

Comments
 (0)