Skip to content

Commit

Permalink
feat: display item labels in the details page (#387)
Browse files Browse the repository at this point in the history
Co-authored-by: zebrapurring <>
  • Loading branch information
zebrapurring authored Dec 21, 2024
1 parent 6142c31 commit a3ebeb8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/pages/item/[id]/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,9 @@
<h1 class="text-wrap pb-1 text-2xl">
{{ item ? item.name : "" }}
</h1>
<div class="flex flex-wrap gap-2 pb-1">
<LabelChip v-for="label in item?.labels || []" :key="label.id" :label="label" size="sm" />
</div>
<div class="flex flex-wrap gap-1 text-wrap text-xs">
<div>
Created
Expand Down

0 comments on commit a3ebeb8

Please sign in to comment.