Update index.vue

This commit is contained in:
Katos
2024-12-26 16:16:34 +00:00
committed by GitHub
parent 55d11f0b05
commit a935c7d0dd

View File

@@ -486,7 +486,7 @@
</h1>
<div class="flex flex-wrap gap-2 pb-1">
<LabelChip v-for="label in item?.labels || []" :key="label.id" :label="label.name" size="sm" />
<span v-if="item?.labels.length === 0" class="text-gray-500">No labels</span>
<span v-if="(item?.labels || []).length === 0" class="text-gray-500">No labels</span>
</div>
<div class="flex flex-wrap gap-1 text-wrap text-xs">
<div>