Skip to content

Commit d822cc7

Browse files
authored
fix: handle empty package description in table row display (#1763)
1 parent 04bd490 commit d822cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/Package/TableRow.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const allMaintainersText = computed(() => {
6969
v-if="isColumnVisible('description')"
7070
class="py-2 px-3 text-sm text-fg-muted max-w-xs truncate"
7171
>
72-
{{ stripHtmlTags(decodeHtmlEntities(pkg.description || '-')) }}
72+
{{ stripHtmlTags(decodeHtmlEntities(pkg.description || '')) || '-' }}
7373
</td>
7474

7575
<!-- Downloads -->

0 commit comments

Comments
 (0)