Skip to content

Commit

Permalink
fix: showing tooltip only if date is set
Browse files Browse the repository at this point in the history
Co-authored-by: Shariq Ansari <[email protected]>
  • Loading branch information
pu-raihan and shariquerik committed Sep 20, 2024
1 parent 246569f commit 8f99b53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/components/ListViews/TasksListView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
:row="row"
>
<div v-if="column.key === 'due_date'">
<Tooltip :text="dateFormat(item, 'ddd, MMM D, YYYY | hh:mm a')">
<Tooltip
:text="item && dateFormat(item, 'ddd, MMM D, YYYY | hh:mm a')"
>
<div class="flex items-center gap-2 truncate text-base">
<div><CalendarIcon /></div>
<div v-if="item" class="truncate">
Expand Down

0 comments on commit 8f99b53

Please sign in to comment.