We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a387e8e commit 3e23a1aCopy full SHA for 3e23a1a
1 file changed
app/components/Package/TableRow.vue
@@ -14,19 +14,13 @@ const emit = defineEmits<{
14
}>()
15
16
const pkg = computed(() => props.result.package)
17
-const score = computed(() => props.result.score)
18
19
const updatedDate = computed(() => props.result.package.date)
20
const { isPackageSelected, togglePackageSelection, canSelectMore } = usePackageSelection()
21
const isSelected = computed<boolean>(() => {
22
return isPackageSelected(props.result.package.name)
23
})
24
25
-function formatScore(value?: number): string {
26
- if (value === undefined || value === 0) return '-'
27
- return Math.round(value * 100).toString()
28
-}
29
-
30
function isColumnVisible(id: string): boolean {
31
return props.columns.find(c => c.id === id)?.visible ?? false
32
}
0 commit comments