Skip to content

Commit

Permalink
fix names in progress report chart headers
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasxsong committed May 30, 2024
1 parent d1fcb3e commit 7567a8c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/pages/ProgressReport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,14 @@
:key="taskId"
class="flex justify-content-between align-items-center"
>
<div class="text-lg font-bold text-gray-600 w-full">
<div v-if="taskDisplayNames[taskId]" class="text-lg font-bold text-gray-600 w-full">
{{ taskDisplayNames[taskId].extendedName }}
<span class="font-light uppercase text-sm"> ({{ taskId }}) </span>
<span class="font-light uppercase text-sm" v-if="taskDisplayNames[taskId].name">
({{ taskDisplayNames[taskId].name }})
</span>
</div>
<div v-else class="text-lg font-bold text-gray-600 w-full">
{{ taskId }}
</div>
<PvChart
type="bar"
Expand Down

0 comments on commit 7567a8c

Please sign in to comment.