Skip to content

Commit fa4b146

Browse files
committed
fix: protect null category
1 parent f009059 commit fa4b146

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/modules/admin/modules/collections/components/lf-collection-table.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929

3030
<lf-table-cell class="pl-3">
3131
<p class="text-medium mb-0.5">
32-
{{ collection.category.name }}
32+
{{ collection.category?.name }}
3333
</p>
3434
<p class="text-tiny text-gray-500">
35-
{{ collection.category.categoryGroupName }} ({{ collection.category.categoryGroupType === 'vertical' ? 'Industry' : 'Stack' }})
35+
{{ collection.category?.categoryGroupName }} ({{ collection.category?.categoryGroupType === 'vertical' ? 'Industry' : 'Stack' }})
3636
</p>
3737
</lf-table-cell>
3838

0 commit comments

Comments
 (0)